30 October 2007
Strong naming a third party DLL
Posted by Mikhail Esteves under: C#; Tips .
To strong name a 3rd party DLL, first disassemble it by running the MSIL Disassembler. Assuming source.dll is your third-party DLL, the command would be:
ildasm /out:source.dll.il source.dll
Then, re-assemble it by running the MSIL Assembler. Assuming private.snk is your private key, the command would be:
ilasm /dll /resource=source.dll.res
source.dll.il /out=source.dll
/key=private.snk