473,326 Members | 2,124 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,326 software developers and data experts.

Reference assembly in GAC

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

Jul 21 '05 #1
1 3280
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 :o(

Regards,
Steve.

"Steve Amey" <stevea@centurion-ms_RemoveThis_.co.uk> wrote in message
news:eo**************@TK2MSFTNGP11.phx.gbl...
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

Jul 21 '05 #2

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

Similar topics

3
by: Mountain Bikn' Guy | last post by:
This code (adapted from the examples in the docs) doesn't make complete sense to me. I have it working, but I'm wondering why I need to declare an assembly reference in 2 places. TIA. Dave ...
2
by: Vera | last post by:
I have two assemblies that each consist of several classes. Each object instantiated from those classes can have one or more child- and/or parentobjects that are also instantiated from those...
4
by: WM Chung | last post by:
Hi all, I meet a problem in building my .Net Solution and I would like to seek help. After I have added a dll to reference in one of my project in my solution, when I re-build the solution, I...
0
by: Patrick | last post by:
This is a C# post. I'm using VB.NET to create an add-in for the Google Sidebar, and have implemented the OnDetailsView method. NOTE : I've come across this same problem (error message) even in...
4
by: Edward Diener | last post by:
I have a class Y in assembly B which is derived from a class Z in assembly C. So I correctly add a reference to assembly C in assembly B, build assembly B and everything builds fine. Now I create...
4
by: dhnriverside | last post by:
HI guys I've just written my first independent namespace for my library (yay me!). However, on trying to add it to my website project, it causes an error when I look at the website. It compiles...
5
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant...
11
by: Just Me | last post by:
I have a solution containing many usercontrol projects. When I wish to reference a usercontrol in another project I can select either the project or the assembly. Does it make a difference which...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
6
by: Craig Buchanan | last post by:
i have two classes: User and Group. Each is in their own assembly. The User class has Groups collection and the Group has a Users collection. I would like to strongly-type these collections,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.