Strong naming assemblies that aren't yours?

  • Thread starter Thread starter adrian.snell
  • Start date Start date
A

adrian.snell

I need to strong name my assemblies, however there are some that I
reference within those that aren't mine, and they all need to be strong
named for it to work. Is there anyway I can strongly name someone
else's assembly or is there away to get around this problem?
 
I need to strong name my assemblies, however there are some that I
reference within those that aren't mine, and they all need to be strong
named for it to work. Is there anyway I can strongly name someone
else's assembly or is there away to get around this problem?
You an sign assemblies with the Strong Name tool (sn.exe).

Peter
 
I have created a key pair with sn -k Key.snk

How do I 'associate' this with a dll?

Thanks
 
Is there anyway I can strongly name someone
else's assembly or is there away to get around this problem?

Have you tried asking the assembly vendor for a strong named version?


Mattias
 
Have you tried asking the assembly vendor for a strong named version?

Unfortunately this is not possible, as we are not sure where it came
from originally.
 
I have created a key pair with sn -k Key.snk

How do I 'associate' this with a dll?

Thanks

Hi Adrian,

I don't believe it to be possible without recompiling the DLL. I
believe that during compilation, extra space has to be allocated to
contain the public key, the signature, etc.

If you do not have the source available, you may be able to do this
just using ildasm and ilasm

HTH,

Damien
 
If you don't know who wrote it, what makes you trust it enough to use it
from your application?
 
Thanks a lot guys.
I dont think it is possible either, but have managed to find source
code for a very similar version so problem is solved.

Adrian.
 
Back
Top