472,785 Members | 1,214 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,785 software developers and data experts.

? 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 2490
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Tony Jones | last post by:
Can anyone think of a reason why a 3rd party vendor writing .NET components would NOT strong name their assemblies? What harm does adding a strong-name to assembly present - I would think none...
2
by: Vishal - Auh | last post by:
Hi, I'm creating a Strong named assembly which has a reference to a third-party Assembly. When I try to compile my assembly, I receive the following error "Assembly generation Failed --...
20
by: Razzie | last post by:
Hey all, I'm really going through a small hell right now - I've completely lost it :) I made a project, using two interop libraries from exchange (created them as in this msdn article:...
1
by: Jimski | last post by:
Hi all, I am creating an assembly that will access a database to return record details. I need to deploy it to a 3rd Party and they will then be able to use the assembly in their code to...
3
by: Richard | last post by:
Hi, We would like our application to be signed and have a strong name. However our application references a 3rd party .dll that does not have a strong name and so when we compile we get the...
3
by: Tony Jones | last post by:
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...
0
by: John Liu | last post by:
Recently I had to do some really nasty work (I consider any IL work nasty) to get a set of (not strong named) 3rd party assemblies to compile with our solution (which is strong named). ...
10
by: DBC User | last post by:
Hi All, Someone shed some light in to this strong name signing issue I have. My assembly uses a 3rd party controls so I end up distributing their dlls along with my assembly. I put this app in...
6
by: raylopez99 | last post by:
Anybody use Strong Name Signing? I think this is used by default for Resource files, which is one reason perhaps I can't get my resource files to work (somehow the public key is messed up, perhaps...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.