zoukankan      html  css  js  c++  java
  • 未能加载文件或程序集“Newtonsoft.Json, Version=4.5.0.0....MVC4中NuGet SingalR后出现这样的问题

    错误
    出现这样的问题是因为MCV4 默认Newtonsoft.Json 4.5 而SingalR是需要版本6.0
    解决办法是在webconfig runtime 中加入下面代码

      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    
        <dependentAssembly>
          <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
          <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="6.0.0.0" />
        </dependentAssembly>
      </assemblyBinding>
  • 相关阅读:
    odoo权限
    odoo开发bug记录
    odoo视图
    odoo13线上发布
    odoo开发环境搭建
    request
    urllib
    b站排行榜-爬虫
    DockerFile
    Docker基本操作
  • 原文地址:https://www.cnblogs.com/xinianxinqix/p/5457557.html
Copyright © 2011-2022 走看看