Wednesday, December 19, 2007

For a project I did using VSTO, we need to have strong named assemblies when deploying our VSTO application.

Now we have one 3rd party assembly which is not strong named.

So how could you make a 3rd party assembly strong named for your project ?

It’s very easy and it only takes 2 command line commandos:

ILDASM /out:asm.il asm.dll
ILASM asm.il /KEY=key.snk /DLL /OUTPUT=asm.dll

With these parameters

  • Asm.dll is your dll to sign
  • Key.snk is your key
12/19/2007 2:58:17 PM (Romance Standard Time, UTC+01:00)  #     |