应用程序启动时找不到windows.azure.messaging.managed文件 [英] windows.azure.messaging.managed file not found on app start

查看:48
本文介绍了应用程序启动时找不到windows.azure.messaging.managed文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试编制一个为期一年的UWP项目。在一些软件包更新后,我在启动时遇到异常$ exception {System.IO.FileNotFoundException:无法加载文件或程序集'Microsoft.WindowsAzure.Messaging.Managed,Version = 1.0.0.0,Culture = neutral,
PublicKeyToken = 31bf3856ad364e35' 。 Das System kann die angegebene Datei nicht finden。文件名:'Microsoft.WindowsAzure.Messaging.Managed,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'at WeatherApp.MainPage.InitNotificationsAsync()at
WeatherApp.MainPage..ctor()visual Studio 2017 15.6预览2 Windows 10 1709

I try to compile a one year old UWP Project. After some package updates I get a exception on startup $exception {System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.WindowsAzure.Messaging.Managed, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Das System kann die angegebene Datei nicht finden. File name: 'Microsoft.WindowsAzure.Messaging.Managed, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' at WeatherApp.MainPage.InitNotificationsAsync() at WeatherApp.MainPage..ctor() visual Studio 2017 15.6 preview 2 Windows 10 1709

推荐答案

嗨  HannesPreishuber,

Hi  HannesPreishuber,

您可以尝试以下方法。

1:删除一些软件包并安装最新的更新版本并重建您的解决方案。例如删除Microsoft.WindowsAzure.Messaging.Managed nugget并重新安装最新版本。

1: Removing some packages and install the latest update version and rebuild your solution. Such as removing the Microsoft.WindowsAzure.Messaging.Managed nugget and reinstall the latest version again.

2:删除项目obj和bin文件夹,然后清理并重建解决方案

2: Deleting the project obj and bin folder, then Clean and rebuild your solution

3。尝试重新打开Visual Studio以再次测试它。

3. Try to reopen your Visual Studio to test it again..

最好的问候,

Yong Lu


这篇关于应用程序启动时找不到windows.azure.messaging.managed文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆