zoukankan      html  css  js  c++  java
  • C# 未能加载文件或程序集或它的某一个依赖项。需要强名称程序集

    Could not load file or assembly 'xxx.xxx.xxx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

    这个错误是原因:是有签名的DLL引用了无签名的DLL

    解决办法

    就是清空引用的项目的签名,这样大家都无签名,或者在引用的项目中生成一个签名,这样大家都有签名。

    引用原则:有签名可以引用无签名或有签名的DLL。但无签名不可以引用有签名的DLL,会报需要强名称程序集错误。

    引用出处:http://www.cnblogs.com/mxm2005/p/4981774.html

  • 相关阅读:
    bzoj2438
    bzoj3040
    [AHOI2009]维护序列
    [JSOI2008]最大数
    洛谷3378堆模板
    洛谷1439
    洛谷2756
    bzoj1016
    洛谷1875
    [模板] 强连通分量
  • 原文地址:https://www.cnblogs.com/xiaonanmu/p/10175596.html
Copyright © 2011-2022 走看看