Reference assembly in GAC

S

Steve Amey

Hi all

I have created an assembly that I want to install in the GAC. I have created
a Strong-Name for the assembly and then used the AssemblyKeyFileAttribute to
point to the snk file. I then dragged the assembly from explorer into the
GAC and it was placed in the GAC ok.

I then go into my project and try to add a reference, and I thought that
everything under the .NET tab were assemblies that were in the GAC (I may be
wrong in this), and my assembly was not displaying in the list. So I have 2
questions:

1. In the GAC in explorer my assembly is called CMSLConnect, there are other
assemblies in the GAC that have the full namespace ie. System.Windows.Forms,
how can I display the entire namespace for my assembly in the GAC? The
namespace in the project is CompanyName.Data and the class is called
CMSLConnect.

2. Should the assembly that I placed in the GAC show up on the .NET tab of
the references dialog box? If it is then is there any reason why mine is not
showing? All I want to do is install my assembly into the GAC and then
reference that assembly from my projects.

Thank you for any help.

Steve
 
S

Steve Amey

Hiya

My mistake. I've just searched in this group and found the answer in Bill's
post on 16/08/2004.

Sorry for not looking :blush:(

Regards,
Steve.
 

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

Top