Steps to certify an Assembly

Steps to certify the Assembly:-

Delays sign a .NET app:

sn -k keypair.snk

sn -p keypair.snk public.snk
Build assembly with:
[assembly: AssemblyDelaySign("false")]
[assembly: AssemblyKeyFile("..\\..\\keypair.snk")]
sn -Vr AssemblyName.dll
This step is critical and is not mentioned anywhere. Exit and restart every instance of VisualStudio running. Until you do this Visual Studio will not know of the sn -Vr from step 4 and you will get
“COM Interop registration failed. The check of the signature failed for assembly AssemblyName.dll”

What's your thoughts on this?


Protected by WP Anti Spam