未能加载文件或程序集“Newtonsoft.Json,Version=4.5.0.0 问题?

来源:互联网 发布:淘宝零食怎么那么便宜 编辑:程序博客网 时间:2024/06/03 05:15
最后同事帮忙在配置文件里面添加了一些东西,好像是版本引用问题
<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
0 0