Debugging Delay Signed Assemblies
I've run across the need to be able to debug delay signed assemblies. Specifically in my case I want to be able to step through Commerce Server 2009 template pack source code in the debugger. The source is available, but being SharePoint code, all projects are stongly named assemblies. Being written by Microsoft, the code is delayed signed. What to do?
The strong name utility (sn.exe) which is commonly used to generate code signing keys accepts a set of parameters to turn off strong name verification which allows one to debug delay signed assemblies. It goes like this:
sn.exe -Vr *
Of course one should use this only in non-production environments using code that you trust.
Don't confuse * for a filename widecard. It is not.