How to Re-Sign (Strongly Name) an existing .NET Binary
Do you have an existing .Net binary you are trying to use with an existing project that uses strongly named binaries? If the pre-existing binary is not strongly signed too, you can't use it. Doh! I found this nice tutorial that shows you how to de-compile and existing binary and re-sign it with a new key!
A reader suggested a similar tool, ILMerge that does something similar.
Comments
Anonymous
December 30, 2008
PingBack from http://www.codedstyle.com/how-to-re-sign-strongly-name-an-existing-net-binary/Anonymous
December 31, 2008
You don't have to diassemble it actually. All that's needed is to replace the public key, and SN will do the rest (recompute hashes, resign, etc.). I have a tiny program to just search and replace the public key in the assembly, then call SN: http://www.atrevido.net/blog/PermaLink.aspx?guid=f772c18a-f389-4c28-bd6a-a30f4ccc84f5