473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 2520
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.