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