未能加载文件或程序集“Newtonsoft.Json, Version=10.0.0.0, Culture=neutral,

 

 

在项目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"/>// newVersion填写你的版本
</dependentAssembly>

  

 

posted @ 2020-04-07 09:26  就一个  阅读(8083)  评论(0编辑  收藏  举报