Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GAC assembly in VS.Net Add-Reference box?

10 views
Skip to first unread message

Mark

unread,
Feb 26, 2004, 3:06:07 PM2/26/04
to
Hello,
I can successuly install an assembly into the GAC with GacUtil. However I cannot get the assembly to appear in the "VS.Net > Add Reference > .Net tab" (where for example, other assemblies in the GAC like System.dll appear).

Can anyone tell me how to get an an assembly to appear in VS.Net's Add-Reference .Net tab?

Thanks,
Mark

Mythran

unread,
Feb 26, 2004, 6:06:37 PM2/26/04
to
The items in the "references" dialog are not necessarily in the Gac. They are
actually in another directory which is defined in your registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\YourCommonAss
emblyFolderNameHere\(Default) of PATH_TO_YOUR_COMMON_ASSEMBLY_FOLDER_HERE

Hope this helps :)

Mythran - I am a bug? I thought I was a developer!?!


Jim Cheshire [MSFT]

unread,
Feb 26, 2004, 6:59:22 PM2/26/04
to
Hi Mark,

The only assemblies that show up there are ones that are installed with
VS.NET or ones that are in \Microsoft Visual Studio
.NET\Common7\IDE\PublicAssemblies. Strong-naming an assembly and
installing it into the GAC does not make it show up there.

If you want to add a reference to your assembly, you will need to click
Browse and browse to the location for the assembly.

Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
jame...@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.


--------------------
>Thread-Topic: GAC assembly in VS.Net Add-Reference box?
>thread-index: AcP8o/hWCXbX3CNxSyWdr9vgpaHdpA==
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>From: "=?Utf-8?B?TWFyaw==?=" <anon...@discussions.microsoft.com>
>Subject: GAC assembly in VS.Net Add-Reference box?
>Date: Thu, 26 Feb 2004 12:06:07 -0800
>Lines: 7
>Message-ID: <3F934E93-8774-4202...@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>Path: cpmsftngxa06.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:214036
>NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

0 new messages