zoukankan      html  css  js  c++  java
  • 未能加载文件或程序集“System.Web.Http, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)解决办法

    1.查看引用处是否确实引用,

    2.查看<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  <dependentAssembly>中有无该DLL的映射,但是此时你引用的可能是别的版本的 System.Web.Http,此时把 oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0" 这里调成现在的版本号就好了,例如我使用的5.2.3.0我就写成oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0,该属性位于assemblyIdentity节点的子节点assemblyIdentity节点下

  • 相关阅读:
    redis安装以及php扩展
    Linux下php安装Redis扩展
    正则验证邮箱
    常用方法
    PHPExcel说明
    冒泡排序
    CURL post请求
    PHP生成随机字符串
    PHP中的字符串函数
    PHP中的数组函数
  • 原文地址:https://www.cnblogs.com/llcdbk/p/6763346.html
Copyright © 2011-2022 走看看