已经部分解决了,通过修改 web.conf
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
但是不知道这有没有副作用,毕竟你们的版本是4.5.11,vs的版本是6.0.0.0,如果Newtonsoft.Json 的向下兼容性好的话还行,否则不知道会出什么问题?还是让你们的开发看看吧,最好是能够把自带的Newtonsoft.Json 升升级 |