Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
ildasm /tokens /out=unsignedAssembly.il unsignedAssembly.dllilasm /dll /key=key.snk unsignedAssembly.il /out=signedAssembly.dll
As you can see whats happening here is you use the dissassembler to generate the MSIL code into the unsignedAssembly.il file, at which point you essentially have the code, or a form of it. Next you use the assembler to reassemble the msil code into the binary assembly but this time you sign it using your key!
Its brilliant, it works great and I did not notice any drawbacks to doing it this way.
Remember Me