473,396 Members | 1,915 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,396 software developers and data experts.

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 'ApplicationsDataAcsess'
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 23101
Hi Alan,
that just means tha the referenced assembly ApplicationDataAccess 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
'ApplicationsDataAcsess'
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*********@discussions.microsoft.comwrote in message
news:7c*************************@news.microsoft.co m...
Hi Alan,
that just means tha the referenced assembly ApplicationDataAccess 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
'ApplicationsDataAcsess'
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 "ApplicationsDataAccess"
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 "ApplicationsDataAccess" have not compiled
the whole solution

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

"Sascha Dietl" <Sa*********@discussions.microsoft.comwrote in message
news:7c*************************@news.microsoft.co m...
>Hi Alan,
that just means tha the referenced assembly ApplicationDataAccess 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
'ApplicationsDataAcsess'
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*********@discussions.microsoft.comwrote in
message news:7c*************************@news.microsoft.co m...
>Hi Alan,
that just means tha the referenced assembly ApplicationDataAccess 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
'ApplicationsDataAcsess'
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 ApplicationsDataAccess,
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
"ApplicationsDataAccess"
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 "ApplicationsDataAccess" have not
compiled
the whole solution
"Alan T" <al*************@yahoo.com.auwrote in message
news:eq**************@TK2MSFTNGP02.phx.gbl...
>Sorry, could you explain in more detail?
What do you mean by "sign"?
"Sascha Dietl" <Sa*********@discussions.microsoft.comwrote in
message news:7c*************************@news.microsoft.co m...
>>Hi Alan,
that just means tha the referenced assembly ApplicationDataAccess 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
'ApplicationsDataAcsess'
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*********@discussions.microsoft.comwrote in message
news:7c*************************@news.microsoft.co m...
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*********@discussions.microsoft.comwrote in
message news:7c*************************@news.microsoft.co m...
>>Hi Alan,
that just means tha the referenced assembly ApplicationDataAccess 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
'ApplicationsDataAcsess'
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*********@discussions.microsoft.comwrote in
message news:7c*************************@news.microsoft.co m...
>this should be a good explanation:
http://msdn.microsoft.com/library/de...ary/en-us/cpgu
ide/html/cpconworkingwithstrongly-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*********@discussions.microsoft.comwrote in
message news:7c*************************@news.microsoft.co m...
Hi Alan,
that just means tha the referenced assembly ApplicationDataAccess
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
'ApplicationsDataAcsess'
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
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...
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...
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...
1
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...
1
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...
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...
2
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...
1
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...
1
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...
14
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
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...

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.