Referenced assembly does not have a strong name
2013-11-15 15:12
676 查看
Step 1 : Run visual studio command prompt and go to directory where your DLL located.
For Example my DLL located in D:/hiren/Test.dll
Step 2 : Now create il file using below command.
D:/hiren> ildasm /all /out=Test.il Test.dll
(this command generate code library)
Step 3 : Generate new Key for sign your project.
D:/hiren> sn -k mykey.snk
Step 4 : Now sign your library using ilasm command.
D:/hiren> ilasm /dll /key=mykey.snk Test.il
原文:http://www.codeproject.com/Tips/341645/Referenced-assembly-does-not-have-a-strong-name
For Example my DLL located in D:/hiren/Test.dll
Step 2 : Now create il file using below command.
D:/hiren> ildasm /all /out=Test.il Test.dll
(this command generate code library)
Step 3 : Generate new Key for sign your project.
D:/hiren> sn -k mykey.snk
Step 4 : Now sign your library using ilasm command.
D:/hiren> ilasm /dll /key=mykey.snk Test.il
原文:http://www.codeproject.com/Tips/341645/Referenced-assembly-does-not-have-a-strong-name
相关文章推荐
- Assembly generation failed Referenced assembly ‘xxx’ does not have a strong name
- 引用三方Dll时,产生“does not have a strong name”错误
- vs2010 does not have a strong name
- Compiler Error Message: CS0234: The type or namespace name 'BorderDetails' does not exist in the class or namespace 'Infragistics.WebUI.Shared' (are you missing an assembly reference?)
- UI' does not exist in the namespace `UnityEngine'. Are you missing an assembly reference
- The type or namespace name `MovieTexture' could not be found. Are you missing an assembly reference?
- Strong name signature not valid for this assembly Microsoft.mshtml.dll
- C# Issues and Solutions -- Method get_XXX from assembly YYYY does not have an implementation
- 关于错误 The type or namespace name `Vuforia' could not be found. Are you missing an assembly reference?
- C++常见错误之error: 'XXX' does not name a type或undefined reference to `__glutInitWithExit'
- PRVG-11074 : Private network interface "name" on node "node" does not have MONITOR option set
- Reference in the manifest does not match the identity of the downloaded assembly
- Mysql: The located assembly's manifest definition does not match the assembly reference
- The owner () of job <Job Name> does not have server access.
- The located assembly’s manifest definition does not match the assembly reference
- ORA-01720: grant option does not exist for 'reference schema.table_name ora view_name'
- Activity does not have a parent activity name specified.
- The project: nameXXX which is referenced by the classpath, does not exist解决方法?
- 如何解决The type or namespace name 'ScriptService' could not be found (are you missing a using directive or an assembly reference?)
- .net4 wpf App 使用log4net 错误:The type or namespace name 'log4net' could not be found (are you missing a using directive or an assembly reference?)