0
我收到此錯誤:無法加載文件或程序集Newtonsoft.json,版本= 8.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. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified
這是我的web.config
<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>
我身邊有GOOGLE上搜索,並試圖我所能做的一切,但錯誤不會消失。此代碼在我的機器上,我們的開發服務器上和我們的生產服務器上運行,但不在我們的測試服務器上運行。
大會在那裏。程序集的真實版本是8.0.2.19309,並且將綁定重定向更改爲此會導致清單錯誤。
請幫忙。