应该是我无意中在nutgut里点了更新Json导致的吧..废话不多说! 经过一晚上到早上摸索终于解决!!!无论在nutgut里更新回原来的版本还是在web.config里加 <dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
都没办法解决.我发现无论怎么办自己的引用Newtonsoft.Json依然是4.5.0.0版本!!! 解决办法:在以往备份的项目里找到Web层的bin文件夹里.找到Newtonsoft.Json.dll.6.0.0.0的.把他复制现在的项目的Web的bin里然后在VS里引用.