473,850 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Assembly strong name

I have create a class library and add it to the reference list in one of the
projects.

However, when I compile the project and got the error:
Assembly generation failed -- Referenced assembly 'ApplicationsDa taAcsess'
does not have a strong name.

What is that mean?
Is my clas library should have another name? Or something inside problem?

I have other class library named as 'Users', it does not have problem.
Aug 9 '06 #1
7 23127
Hi Alan,
that just means tha the referenced assembly ApplicationData Access is not
signed so it doesn't have a strong name.
Since you signed your application/assembly all referenced assemblies must
also be signed.
I have create a class library and add it to the reference list in one
of the projects.
However, when I compile the project and got the error:
Assembly generation failed -- Referenced assembly
'ApplicationsDa taAcsess'
does not have a strong name.
What is that mean?
Is my clas library should have another name? Or something inside
problem?
I have other class library named as 'Users', it does not have problem.

Aug 9 '06 #2
Sorry, could you explain in more detail?
What do you mean by "sign"?

"Sascha Dietl" <Sa*********@di scussions.micro soft.comwrote in message
news:7c******** *************** **@news.microso ft.com...
Hi Alan,
that just means tha the referenced assembly ApplicationData Access is not
signed so it doesn't have a strong name.
Since you signed your application/assembly all referenced assemblies must
also be signed.
>I have create a class library and add it to the reference list in one
of the projects.
However, when I compile the project and got the error:
Assembly generation failed -- Referenced assembly
'ApplicationsD ataAcsess'
does not have a strong name.
What is that mean?
Is my clas library should have another name? Or something inside
problem?
I have other class library named as 'Users', it does not have problem.


Aug 9 '06 #3
Hi,

I know what's happening to my solution but don't know why?
Here's my findings:

1) I found the "Sign to assembly" is unchecked in "ApplicationsDa taAccess"
project
2) But this check box are checked inside other class libraries
3) May be due to I compiled the whole solution in the old days
4) Now after I created this new "ApplicationsDa taAccess" have not compiled
the whole solution

"Alan T" <al************ *@yahoo.com.auw rote in message
news:eq******** ******@TK2MSFTN GP02.phx.gbl...
Sorry, could you explain in more detail?
What do you mean by "sign"?

"Sascha Dietl" <Sa*********@di scussions.micro soft.comwrote in message
news:7c******** *************** **@news.microso ft.com...
>Hi Alan,
that just means tha the referenced assembly ApplicationData Access is not
signed so it doesn't have a strong name.
Since you signed your application/assembly all referenced assemblies must
also be signed.
>>I have create a class library and add it to the reference list in one
of the projects.
However, when I compile the project and got the error:
Assembly generation failed -- Referenced assembly
'Applications DataAcsess'
does not have a strong name.
What is that mean?
Is my clas library should have another name? Or something inside
problem?
I have other class library named as 'Users', it does not have problem.



Aug 9 '06 #4
this should be a good explanation:
http://msdn.microsoft.com/library/de...assemblies.asp

and here's a little faq about signing:
http://blogs.msdn.com/junfeng/archiv...11/549355.aspx

assemblies must be signed to be able to register them in the Global Assembly
Cache (GAC), what is contained in the key file is explained on the MSDN link
above. A signed Assembly can only be referenced by a signed one. Read the
MSDN link and some parts of the faq ;-)
Sorry, could you explain in more detail?
What do you mean by "sign"?
"Sascha Dietl" <Sa*********@di scussions.micro soft.comwrote in
message news:7c******** *************** **@news.microso ft.com...
>Hi Alan,
that just means tha the referenced assembly ApplicationData Access is
not
signed so it doesn't have a strong name.
Since you signed your application/assembly all referenced assemblies
must
also be signed.
>>I have create a class library and add it to the reference list in
one
of the projects.
However, when I compile the project and got the error:
Assembly generation failed -- Referenced assembly
'Applications DataAcsess'
does not have a strong name.
What is that mean?
Is my clas library should have another name? Or something inside
problem?
I have other class library named as 'Users', it does not have
problem.

Aug 9 '06 #5
yes strong named (signed) assemblies can only reference strong named assemblies,
and can only be referenced by strong named assemblies. So sign your ApplicationsDat aAccess,
you can do this through the project properties, or remove all signings.
Hi,

I know what's happening to my solution but don't know why? Here's my
findings:

1) I found the "Sign to assembly" is unchecked in
"ApplicationsDa taAccess"
project
2) But this check box are checked inside other class libraries
3) May be due to I compiled the whole solution in the old days
4) Now after I created this new "ApplicationsDa taAccess" have not
compiled
the whole solution
"Alan T" <al************ *@yahoo.com.auw rote in message
news:eq******** ******@TK2MSFTN GP02.phx.gbl...
>Sorry, could you explain in more detail?
What do you mean by "sign"?
"Sascha Dietl" <Sa*********@di scussions.micro soft.comwrote in
message news:7c******** *************** **@news.microso ft.com...
>>Hi Alan,
that just means tha the referenced assembly ApplicationData Access is
not
signed so it doesn't have a strong name.
Since you signed your application/assembly all referenced assemblies
must
also be signed.
I have create a class library and add it to the reference list in
one
of the projects.
However, when I compile the project and got the error:
Assembly generation failed -- Referenced assembly
'Application sDataAcsess'
does not have a strong name.
What is that mean?
Is my clas library should have another name? Or something inside
problem?
I have other class library named as 'Users', it does not have
problem.

Aug 9 '06 #6
Before I read the link referred can I ask you:
I did not check the "Sign to assembly" check box of my other class
libraries, why did they checked automatically ?

"Sascha Dietl" <Sa*********@di scussions.micro soft.comwrote in message
news:7c******** *************** **@news.microso ft.com...
this should be a good explanation:
http://msdn.microsoft.com/library/de...assemblies.asp

and here's a little faq about signing:
http://blogs.msdn.com/junfeng/archiv...11/549355.aspx

assemblies must be signed to be able to register them in the Global
Assembly Cache (GAC), what is contained in the key file is explained on
the MSDN link above. A signed Assembly can only be referenced by a signed
one. Read the MSDN link and some parts of the faq ;-)
>Sorry, could you explain in more detail?
What do you mean by "sign"?
"Sascha Dietl" <Sa*********@di scussions.micro soft.comwrote in
message news:7c******** *************** **@news.microso ft.com...
>>Hi Alan,
that just means tha the referenced assembly ApplicationData Access is
not
signed so it doesn't have a strong name.
Since you signed your application/assembly all referenced assemblies
must
also be signed.
I have create a class library and add it to the reference list in
one
of the projects.
However, when I compile the project and got the error:
Assembly generation failed -- Referenced assembly
'Application sDataAcsess'
does not have a strong name.
What is that mean?
Is my clas library should have another name? Or something inside
problem?
I have other class library named as 'Users', it does not have
problem.


Aug 9 '06 #7
I've never seen these checkboxes checking themselves and I really don't know
what needs to happen so they will check theirselves.

Before I read the link referred can I ask you:
I did not check the "Sign to assembly" check box of my other class
libraries, why did they checked automatically ?
"Sascha Dietl" <Sa*********@di scussions.micro soft.comwrote in
message news:7c******** *************** **@news.microso ft.com...
>this should be a good explanation:
http://msdn.microsoft.com/library/de...ary/en-us/cpgu
ide/html/cpconworkingwit hstrongly-namedassemblies .asp
and here's a little faq about signing:
http://blogs.msdn.com/junfeng/archiv...11/549355.aspx
assemblies must be signed to be able to register them in the Global
Assembly Cache (GAC), what is contained in the key file is explained
on the MSDN link above. A signed Assembly can only be referenced by a
signed one. Read the MSDN link and some parts of the faq ;-)
>>Sorry, could you explain in more detail?
What do you mean by "sign"?
"Sascha Dietl" <Sa*********@di scussions.micro soft.comwrote in
message news:7c******** *************** **@news.microso ft.com...
Hi Alan,
that just means tha the referenced assembly ApplicationData Access
is
not
signed so it doesn't have a strong name.
Since you signed your application/assembly all referenced
assemblies
must
also be signed.
I have create a class library and add it to the reference list in
one
of the projects.
However, when I compile the project and got the error:
Assembly generation failed -- Referenced assembly
'Applicatio nsDataAcsess'
does not have a strong name.
What is that mean?
Is my clas library should have another name? Or something inside
problem?
I have other class library named as 'Users', it does not have
problem.

Aug 9 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2281
by: Avin Patel | last post by:
Hi, I have one weakly named(i.e. not strong named) assembly/xyz.dll. And other strong named assemblies/.dll. I have found that I can't use weakly named assembly with strong named assembly. How can I convert weekly named assembly to strong named assembly. Or other possible way. One more question: If I create assembly for C# with strong name. Can some one else, who is not using strong name, will be able to use it in his C#
3
2549
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 there a way to strong name it? I DO NOT have the source code for the referenced third party assembly.
10
2700
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 assembly or add it to the GAC. If you were a third-party vendor, would you strong-name your...
1
1833
by: Nadav | last post by:
Hi, Introduction: **************** I have created a .NET COM interop Assembly, this assembly references another COM object. The Problem: ***************** To enable registration of the .NET assembly as a COM object I have generate a 'Strong Name' and associate it with my assembly, upon 'Strong Name' association I get 'Assembly generation failed -- Referenced assembly 'Interop.SALLib' does not have a strong name', this happens because...
1
2128
by: Hatim Ali | last post by:
Hello, I have a class library project which has a class supporting COM+ transactions. This class library project refers a COM interop assembly. Now i need to register the assembly after compiling this class library projects into GAC. Registrering it into GAC requires tthat the assembly should have a strong name. Now when i use attribute and compile the class library project it prompts me that the interop assembly should have a strong...
3
4133
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 attributes - that my strong named assembly
2
1887
by: john | last post by:
Maybe I haven't had that "a-ha" moment yet, but I think the new approach to web projects is a step in the wrong direction. My main beef is that control over the assembly generation process has been taken away from us! I also don't agree with the logic behind a web site not having a project file, but I'll save that for another thread! Here's our scenario: We have a web project that runs in a non-managed sharepoint directory. The web...
1
2373
by: Tim F | last post by:
Problem: I'm receiving the error "File or assembly name XXXXX or one of its dependencies, was not found." when trying to execute code in an assmebly that has both a strong-name and has been installed into the GAC. We originally had this assembly without a strong-name and we were successfully using it by referencing it when it was NOT in the GAC. The assembly was built using the 1.0 framework and we were able to call it from both 1.0...
1
5101
by: prateekbaxi | last post by:
Hi, Is it possbile to install the assembly in GAC without signing it and creating the strong name? If i direclty register an assembly using gacutil /i <assembly>, it give me an error saying cannot install the assembly as it is not given a strong name. attempting to install with no strong name. Evetually it doesn't install.
14
2675
by: Monty | last post by:
Hello, I have created a solution which has both a web UI and a winform UI, the latter is just for administrators. The Web UI (a Web Application Project) and the winform project both reference the same BLL in a separate assembly, and I have all three projects in a single solution file for development, with the two UI's each having a project reference to the BLL assembly. I created a Setup and Deployment package for the winform app...
0
9741
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10666
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10724
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10351
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9503
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7899
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5735
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5929
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4546
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.