Welcome to MSDN Blogs Sign in | Join | Help

Gabe on Software

Nuggets of wisdom on Agile Development, .NET and ConfigMgr 2007
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.

Posted: Wednesday, December 31, 2008 12:30 AM by gabeb@microsoft.com
Filed under: ,

Comments

MichaelGG said:

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

# December 31, 2008 5:10 PM
Anonymous comments are disabled
Page view tracker