473,399 Members | 3,401 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,399 software developers and data experts.

Unable to build assembly

HI

I am working with vb.net 2.0 and trying to build a setup file. But get this
error. How to solve this:

Unable to build assembly 'myassembly' into the Global Assembly Cache; the
assembly is not strongly named.

thanks

B
Feb 6 '07 #1
1 1235
Hi,

You will have to generate the strong name for your assembly to add it to the
GAC.

Right Click on your project from VS 2005, on the project property page that
would appear, go to the 'Signing' tab and check the check box 'Sign the
Assembly'. Select New from the dropdown below to generate a strong name key
file for your assembly. In the dialog, type in the name of the Key file (and
your password if you need), then click OK. A strong key file name will be
generated for your assembly with the extension snk. This should solve your
problem.

Rgds,
Bhaskar


"Bert" <Be**@discussions.microsoft.comwrote in message
news:30**********************************@microsof t.com...
HI

I am working with vb.net 2.0 and trying to build a setup file. But get
this
error. How to solve this:

Unable to build assembly 'myassembly' into the Global Assembly Cache; the
assembly is not strongly named.

thanks

B

Feb 6 '07 #2

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

Similar topics

2
by: Peter Gomis | last post by:
I have encountered a situation where I am unable to remove a .NET assembly from the GAC. The message I receive is "Assembly 'assemblyname' could not be uninstalled because it is required by other...
2
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this...
2
by: Ddraig | last post by:
Howdy, I've been struggling with this most of the day and I was wondering if anyone has seen this before and can point me in the direction for a solution. My program runs perfectly, however...
2
by: Ddraig | last post by:
Howdy, I've been struggling with this most of the day and I was wondering if anyone has seen this before and can point me in the direction for a solution. My program runs perfectly, however...
1
by: Ddraig | last post by:
Howdy, I've been struggling with this most of the day and I was wondering if anyone has seen this before and can point me in the direction for a solution. My program runs perfectly, however...
0
by: Michael R. Pierotti | last post by:
Has anyone seen this error before when trying to make the install on a program. ------ Starting pre-build validation for project 'HafaSMPPInstall' ------ WARNING: Unable to find dependency...
3
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
4
by: =?Utf-8?B?SnVhbiBEZW50?= | last post by:
Hi, I am getting the following in a VC++ EXE (using VS2005) that links several C++ DLLs and uses MFC and ATL, when I try to start it under the debugger: ------- 'Exactus.UX.Studio.v1.exe':...
3
by: =?Utf-8?B?TGV3aXMgTW90ZW4=?= | last post by:
Hello. We are having a problem here trying to compile C# applications. Only one developer has a problem where they attempt to compile the application and the compiler complains about being out of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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...
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.