How to Sign an Assembly with a Strong Name (Manually

From a VS.NET command prompt, enter the following:
 
Generate a KeyFile
  1. sn -k keyPair.snk  
Get the MSIL for the assembly
  1. ildasm Testapp.dll /out:Testapp.il  
Build a new assembly from the MSIL output and your KeyFile
  1. ilasm Testapp.il /dll /keykeyPair.snk /out:Testapp.dll