Thursday, 24 May 2018

Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'


Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' 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. 




This problem arrives due to wrong version of DLL you have an one of the application is looking for another version of DLL. On Above problem it happens with Newtonsoft.JSON.

That can be happens with any of the dll. So, Microsoft has given a beautiful solution for it, you can install the latest version of DLL from Nuget Manager.

Open the nuget manager and search for Newtonsoft.JSON, like below.


No comments:

Post a Comment