? How to strong name a 3rd Party Assembly ?

T

Tony Jones

I have a third party assembly that I need to strong name because the C#
project I'm referencing it in will be strong named.

Every time I compile my project I'm getting "Assembly generation failed --
Referenced assembly 'xxxxx' does not have a strong name".

The referenced assembly is a .NET assembly that does not have a strong name.
It there a way to strong name it? I DO NOT have the source code for the
referenced third party assembly.

Thanks.

Tony
 
M

Mattias Sjögren

Tony,
The referenced assembly is a .NET assembly that does not have a strong name.
It there a way to strong name it? I DO NOT have the source code for the
referenced third party assembly.

Have you tried contacting the vendor and ask them if they can provide
a strongly named assembly?



Mattias
 
T

Tony Jones

Yes, but they said that had "problems" strong-naming the component. I don't
know what problems they are talking about - but I'm looking into the issue.

Thanks!

TJ
 
S

Sean Hederman

If you can convince them to put in the DelaySignAttribute, that would
reserve space in the assembly that you can use to sign it.

Other than that, your only real option is IL roundtripping which is a
pain...

Tony Jones said:
Yes, but they said that had "problems" strong-naming the component. I
don't
know what problems they are talking about - but I'm looking into the
issue.

Thanks!

TJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top