GAC assembly in VS.Net Add-Reference box?

G

Guest

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
 
M

Mythran

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!?!
 
G

Guest

Thanks

----- Mythran wrote: ----

The items in the "references" dialog are not necessarily in the Gac. They ar
actually in another directory which is defined in your registry

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\YourCommonAs
emblyFolderNameHere\(Default) of PATH_TO_YOUR_COMMON_ASSEMBLY_FOLDER_HER

Hope this helps :

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

Jim Cheshire [MSFT]

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
(e-mail address removed)

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==?=" <[email protected]>
Subject: GAC assembly in VS.Net Add-Reference box?
Date: Thu, 26 Feb 2004 12:06:07 -0800
Lines: 7
Message-ID: <[email protected]>
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

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
 

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

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top