我收到此错误:
<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>
这是我的Web.Config
require_once
我已经用Google搜索并尽我所能,但错误并没有消失。此代码在我的机器上,在我们的开发服务器上和生产服务器上运行,但不在我们的测试服务器上运行。
集会在那里。程序集的真实版本是8.0.2.19309,将绑定重定向更改为this会导致清单错误。
请帮忙。
答案 0 :(得分:0)
我设法解决此问题的唯一方法是首先从解决方案中卸载此程序集,然后再将其重新安装。以某种方式更新此程序集没有帮助,解决方案仍然保留对旧程序集的引用,从而导致此错误(Atleast就是我的情况)。