469,625 Members | 1,813 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

? How to strong name a 3rd Party Assembly ?

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
Jul 21 '05 #1
3 2357
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

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jul 21 '05 #2
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
"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:#r**************@TK2MSFTNGP10.phx.gbl...
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

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Jul 21 '05 #3
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" <to*******@junk.hotmail.com> wrote in message
news:Of**************@TK2MSFTNGP11.phx.gbl...
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
"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:#r**************@TK2MSFTNGP10.phx.gbl...
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

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.


Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Tony Jones | last post: by
1 post views Thread by Jimski | last post: by
3 posts views Thread by Richard | last post: by
3 posts views Thread by Tony Jones | last post: by
10 posts views Thread by DBC User | last post: by
6 posts views Thread by raylopez99 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.