首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Upgrade newtonsoft.json打破DNN 9.1 persona bar

Upgrade newtonsoft.json打破DNN 9.1 persona bar
EN

Stack Overflow用户
提问于 2017-06-08 02:55:03
回答 1查看 321关注 0票数 1

我正在尝试将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?

EN

回答 1

Stack Overflow用户

发布于 2017-08-24 15:29:25

尝试添加到webconfig代码:

代码语言:javascript
复制
 <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>
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44420708

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档