Unable to build assembly

G

Guest

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
 
B

Bhaskardeep Khaund

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top