简体   繁体   English

NewtonSoft.Json版本错误?

[英]NewtonSoft.Json error of version?

I have installed newtonSoft.json version 6.0.0.0 but I am getting the following error: 我已经安装了newtonSoft.json 6.0.0.0版,但出现以下错误:

Could not load file or assembly 'Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. 无法加载文件或程序集“ Newtonsoft.Json,版本= 8.0.0.0,区域性=中性,PublicKeyToken = 30ad4fe6b2a6aeed”或其依赖项之一。 The located assembly's manifest definition does not match the assembly reference. 找到的程序集的清单定义与程序集引用不匹配。 (Exception from HRESULT: 0x80131040) (来自HRESULT的异常:0x80131040)

I do not want to keep NewtonSoft version 6.0.0.0 and do not want to upgrade that. 我不想保留NewtonSoft版本6.0.0.0,也不想升级它。 Please suggest me how to resolve the problem. 请建议我如何解决问题。

You use another library that reference to a newer version of Newtonsoft. 您使用另一个库,它引用较新版本的Newtonsoft。

Why you don't want to upgrade to version 8.0.0 ? 为什么不想升级到8.0.0版?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM