all groups > dotnet windows forms databinding > august 2004 >
You're in the

dotnet windows forms databinding

group:

Reference Assembly in GAC


Reference Assembly in GAC Steve Amey
8/17/2004 9:54:05 AM
dotnet windows forms databinding: 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

Re: Reference Assembly in GAC Mattias Sjögren
8/17/2004 9:20:38 PM
Steve,

[quoted text, click to view]

No, it displays the full assembly name (which also happens to be
System.Windows.Forms), it doesn't show any namespaces.


[quoted text, click to view]

No. See

How to display an assembly in the Add Reference dialog box
http://support.microsoft.com/?kbid=306149



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Re: Reference Assembly in GAC Steve Amey
8/20/2004 4:42:54 PM
Hi Mattias

Thank you for the information!

Kind Regards,
Steve

[quoted text, click to view]

AddThis Social Bookmark Button