首页 > 技术文章 > (已解决) 未能加载文件或程序集“Newtonsoft.Json, Version=4.0.0.0, Culture=neutral,

0to9 2015-12-05 09:51 原文

在项目web.config里面添加:

<assemblyIdentity name="Newtonsoft.Json"
publicKeyToken="30AD4FE6B2A6AEED" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="7.0.0.0"/>//你的版本
</dependentAssembly>

 

推荐阅读