I have created a simple class library and i have also created strong name(.snk) file.
and i want to sign dll with strong name (.snk) but i am unable to sign the dll.
please help me if any one have idea about this.
How to Sign dll with strong name(.snk)?

Priti KumariPosted Jan 15, 2014, 6:46 AM
Sagar PardeshiPosted Jan 15, 2014, 2:48 AM
http://tutorials.csharp-online.net/Signing_Assemblies_Using_Strong_Names
1. Generate a KeyFile
sn -k keyPair.snk
2. Get the MSIL for the assembly
ildasm SomeAssembly.dll /out:SomeAssembly.il
3. Rename the original assembly, just in case
ren SomeAssembly.dll SomeAssembly.dll.orig
4. Build a new assembly from the MSIL output and your KeyFile
ilasm SomeAssembly.il /dll /key= keyPair.snk