This article is a mirror article of machine translation, please click here to jump to the original article.

View: 20080|Reply: 0

[Source] Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture

[Copy link]
Posted on 7/11/2016 4:21:57 PM | | | |
{"Could not load file or assembly 'Newtonsoft.Json, Version=4.5.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)":"Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed"}


{"Failed to load file or assembly"newtonsoft.json, version=4.5.0.0, culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed" or one of its dependencies. The manifest definition of the installed assembly does not match the assembly reference. (exception from HRESULT: 0x80131040)":"newtonsoft.json, version=4.5.0.0, culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed"}


I used this json plugin installed by NuGet, and then, the error was reported,

I saw that there are solutions on the Internet as follows: (Anyway, I failed according to the following methods!) )

Method: (tried, didn't work)




The real solution is as follows:

Add the following content under the configuration node in web.config:



In fact, it is the content of the following prompts:








Previous:nginx prevents CC attacks against the original user's IP
Next:c# NHibernate help class
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com