views:

245

answers:

2

I have received an assembly from a third party. I need to add it to the GAC, but it does not have a strong name. Is there any way for me to sign the assembly using my own key so that it will be strong named?

A: 

Yes, this is possible, however the solution is not straightforward.

You will find instructions on signing third party assemblies here:

Signing an Unsigned Assembly

0xA3
+4  A: 

Yes. You can use ILDASM to disassemble the Assembly into IL code, and use ILASM to reassemble that IL code and sign it with your own key.

I've done this with various 3rd party assemblies and it works just fine.

This post explains in detail how to do this.

Alan