By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,262 Members | 1,128 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,262 IT Pros & Developers. It's quick & easy.

Unable to build assembly

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.