in .NET Framework

Strong Naming Thirdparty Assemblies

Came across a interesting problem…what happens when your assembly is using a third party assembly that is not strongly named and you want to sign your own assembly..the issue is that you cannot sign your assembly without all other references being signed with a strong name also.

Two possible options:

  1. Ask the thirdparty provider to give you their assembly signed
  2. If option 1 is not possible, you can download this tool called Signer which will allow you to sign a assembly after its been compiled with a key.  All you need to do is generate a key (sn -k myKey.key) and use the Signer command “signer -k myKey.key -output Directory -a assembly.dll