. .

Adding strong name to existing DLL

The dll should have strong name to let you add them to GAC. The procedure follow could help you signing the dll without using source.

You should do the following under Visual Studio Command shell.

  1. Create a key-pair
    sn -k keyPair.snk
  2. Disassemble the dll
    ildasm existing.dll /out:existing.il
  3. Rename the original dll
    ren existing.dll existing.dll.orig
  4. Build the dll with key
    ilasm existing.il /dll /key=keyPair.snk

Afterwards, you could install the dll into GAC by

gacutil /i existing.dll