首页 > 代码库 > sign a third-party dll which don't have a strong name
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
sign a third-party dll which don't have a strong name
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。