473,563 Members | 2,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

? 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 2529
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.o rg> wrote in message
news:#r******** ******@TK2MSFTN GP10.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 DelaySignAttrib ute, 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******** ******@TK2MSFTN GP11.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.o rg> wrote in message
news:#r******** ******@TK2MSFTN GP10.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
2666
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 whatsoever. Strong-naming the assembly should benefit the end user just in case he/she wants to reference the assembly in another strong-named...
2
8826
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 -- Reference assembly 'Assembly Name' does not have a strong name." How to get rid of this error? Any suggestions?
20
3168
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: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmtps/html/writingmngsinks.asp). I set my project properties as 'Register as COM...
1
1447
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 access the methods contained within the assembly. As this assembly will effectively access the database then I need to provide some security to stop...
3
4121
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 dreaded compiler error: Assembly generation failed -- Referenced assembly 'Xxxxxxxxx' does not have a strong name Is there any way - perhaps with...
3
570
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 -- Referenced assembly 'xxxxx' does not have a strong name". The referenced assembly is a .NET assembly that does not have a strong name. It...
0
1113
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). DISCLAIMER: We've notified the 3rd party and a strong named version will be provided in the next release, but in the mean time for our internal development...
10
1513
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 the network and to make app run from network I need to sign with strong name. But all the document I read, it says, if you have an assembly that is...
6
5651
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 since I've installed so many versions of Visual Studio) RL http://msdn.microsoft.com/en-us/library/h4fa028b.aspx Deployment in Visual Studio
0
7888
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.