Delay Signing an Assembly ( More
Info)
1. Create Public/Private keyfile.
> sn -k PublicPrivateKeyFile.snk
2. Extract public from PublicPrivateKeyFile.snk
and place into publickeyFile.snk
> sn.exe -p PublicPrivateKeyFile.snk
PublicKeyFile.snk
3. Associate assembly with public key , in AssemblyInfo.cs.
[assembly: AssemblyDelaySign(true)]
[assembly: AssemblyKeyFile("PublicFile.snk")]
4. instruct runtime skip digital signature verification
> sn.exe -Vr YourAssembly.dll
5. Unregister it for verification
> sn.exe -Vu YourAssembly.dll
6. performs the delay signing operation on the
assembly
> sn.exe -R YourAssembly.dll PublicPrivateKeyFile.snk
7. Install assembly into GAC
> Gacutil -i assembly.dll |