无法加载文件或程序集“Microsoft.WindowsAzure.Storage”或其依赖项之一.运行聊天机器人C#时

我在Visual Studio中进行了一些修改后试图运行我的聊天机器人.使用bot框架模拟器在本地运行时,我的代码可以正常工作,但是当发布到存储在Azure上的聊天机器人时,我得到错误:

Could not load file or assembly ‘Microsoft.WindowsAzure.Storage’ or
one of its dependencies. The located assembly’s manifest definition
does not match the assembly reference. (Exception from HRESULT:
0x80131040)

对这个问题的任何帮助或见解都会非常有用!

解决方法:

打开nuget控制台并粘贴以安装缺少的包:

Install-Package WindowsAzure.Storage -Version 9.3.1

相关文章

Microsoft云包括了Azure、PowerPlatform、Microsoft365、Git...
《WindowsAzurePlatform系列文章目录》 我们在使用AzureAPI...
微软免费使用一年的Azure虚拟机,默认提供了一个64G的磁盘,...
上篇请访问这里做一个能对标阿里云的前端APM工具(上)样本多...
一年一度的MicrosoftBuild终于来了,带来了非常非常多的新技...