Referenced assembly does not have a strong name

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

posted @ 2013-11-15 15:12  Micmacs  阅读(387)  评论(0编辑  收藏  举报