I am trying to run my chat bot after I made some modifications within Visual Studio. My code works correctly when run locally with the bot framework emulator, but when published to my chat bot stored on Azure I get the error:
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)
Any help or insight into this problem would be much appriciated!
打开 nuget 控制台并粘贴以安装缺少的软件包:
Install-Package WindowsAzure.Storage -Version 9.3.1
Remove this from the web config file.
<dependentAssembly> <assemblyIdentity name="Microsoft.WindowsAzure.Storage" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-9.3.1.0" newVersion="9.3.1.0" /> </dependentAssembly>
Remove these lines from the web config file and then rebuild your application.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.