zoukankan      html  css  js  c++  java
  • sign a third-party dll which don't have a strong name

    Problem: Assembly generation failed -- Referenced assembly '' does not have a strong name

    Cause: this is due to you have referenced a third-party dll which doesn't have a strong name.

    Solution:

      1. open Developer Command Prompt for Visual Studio cmd and run as administrator. Enter the dll folder which you have referenced.

        cd "C:MyFolder"

      2. decompiling the dll to IL

        ildasm /all /out=Test.il Test.dll

      3. Generate a key file

        sn -k mykey.snk

      4. compiling the IL to dll again.

        ilasm /dll /key=mykey.snk Test.il

  • 相关阅读:
    AddParent
    AddChild
    贝塞尔曲线代码
    顶点纹理shader
    抽象方法与抽象类
    Application类
    布局组件
    C#单例和Unity单例
    Unity&UGUI
    Json解析
  • 原文地址:https://www.cnblogs.com/bg57/p/3979180.html
Copyright © 2011-2022 走看看