Could not load file or assembly ‘Microsoft.Bot.Connector, Version=3.12.2.4, Culture=neutral, PublicKeyToken=##’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Could not load file or assembly ‘Microsoft.Bot.Connector, Version=3.12.2.4, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Error
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Could not load file or assembly ‘Microsoft.Bot.Connector, Version=3.12.2.4, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Reason
Resolution
Update the Microsoft. Bot. Builder library to latest version
Right Click on your Project and Click on manage NuGet Packages
Search for Microsoft.Bot.Connector and click on update
Then press on accept
Hope It helps
Happy Coding 😊
SOURCE : mscrm.com
3 comments
Anonymous
February 26, 2018 at 10:07 pm
oddly enough, I get this error when I have version 3.14 installed.
Anonymous
March 22, 2018 at 2:33 am
Were you able to resolve this? I get the same.
Anonymous
March 23, 2018 at 3:57 am
I deleted my assemblies and re-added them and that fixed it.
Comments are closed.