我正在尝试将SendGrid集成到我的应用程序中,它依赖于newtonsoft.json.9.0.1。DNN9附带newtonsoft.json.7.0.0。但是,如果我添加绑定重定向bindingRedirect oldVersion="0.0.0.0-7.0.0.0“newVersion="9.0.1”,站点加载,但角色栏被破坏。
我对此完全无能为力。如何升级newtonsoft?
发布于 2017-08-24 15:29:25
尝试添加到webconfig代码:
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0" />
</dependentAssembly>https://stackoverflow.com/questions/44420708
复制相似问题