Assemblies resigned/recompiled when referenced assembly patched

G

Guest

A question from my client concerning assembly signing conventions:

In order to get our main code to run inside of .NET Enterprise Services, we
need to give it (and all other assemblies referenced by our main code) a
strong name key. We know how to do this by running SN -K and then setting
the AssemblyKeyFile attribute in the AssemblyInfo.cs file.

A question comes when and if we need to make a patch release. Our main
assembly references a utility assembly, shared by other assemblies. If we
put out a patch release of our main assembly, we would update its version,
but what about the key information? Would we need to give it a new public
key token as well? If so, do we need to rebuild all of our assemblies
against this new assembly with the new version and key?
 
M

Mattias Sjögren

If we put out a patch release of our main assembly, we would update its version,
but what about the key information? Would we need to give it a new public
key token as well?

No, keep using the same key.


Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top