473,320 Members | 1,990 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,320 software developers and data experts.

Referencing custom DLLs, in GAC, from VS.NET

Hi,

I have created a few DLLs and then installed them into the GAC on another
machine using a Setup program generated using VS.NET.

The DLLs are in the GAC, but when I go into VS.NET, start a project and then
choose to add a reference they do not show up in the dialog box.

Can someone please tell me why?

Thanks

Michael
Nov 22 '05 #1
3 1651
Can someone please tell me why?


Because the Add Reference dialog doesn't display the content of the
GAC. 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
Please reply only to the newsgroup.
Nov 22 '05 #2
Hi,

To show your assemblies in the "Add reference" dialogbox you need to set the
location of the assemblies in the windows registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio \7.1\AssemblyFolders

You will need to add a new subkey, whose default value points to the
directory where the new assemblies are located.

Regards,

Ron
"spugGUN" <sp*****@discussions.microsoft.com> wrote in message
news:5E**********************************@microsof t.com...
Hi,

I have created a few DLLs and then installed them into the GAC on another
machine using a Setup program generated using VS.NET.

The DLLs are in the GAC, but when I go into VS.NET, start a project and then choose to add a reference they do not show up in the dialog box.

Can someone please tell me why?

Thanks

Michael

Nov 22 '05 #3
Hi,

To show your assemblies in the "Add reference" dialogbox you need to set the
location of the assemblies in the windows registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio \7.1\AssemblyFolders

You will need to add a new subkey, whose default value points to the
directory where the new assemblies are located.

Regards,

Ron
"spugGUN" <sp*****@discussions.microsoft.com> wrote in message
news:5E**********************************@microsof t.com...
Hi,

I have created a few DLLs and then installed them into the GAC on another
machine using a Setup program generated using VS.NET.

The DLLs are in the GAC, but when I go into VS.NET, start a project and then choose to add a reference they do not show up in the dialog box.

Can someone please tell me why?

Thanks

Michael

Nov 22 '05 #4

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

Similar topics

2
by: spugGUN | last post by:
Hi, I have created a few DLLs and then installed them into the GAC on another machine using a Setup program generated using VS.NET. The DLLs are in the GAC, but when I go into VS.NET, start a...
2
by: Jon Davis | last post by:
I have a full-blown application that consists of several (fifteen or so) assembly DLLs, each being a separate VS.NET project that outputs to the main DLL's bin directory. They are all strongly...
12
by: Mark Broadbent | last post by:
Hi guys, just going through remoting at the moment and a couple of questions relating to .net in general has surfaced. Firstly I have seen in the designer that for the namespace and many of its...
10
by: Doug Crabtree | last post by:
I am kinda new to the whole distribution process. I several programs that I am writing that use common .NET DLLs. I want each program to use the same DLLs in a "COMMON" folder. How do I get...
1
by: Manny Silva | last post by:
Hi, I'm trying to create a simple managed C++ application that will be a test UI around a couple of ATL COM DLL projects that I have created (all with VS2003). What I am attempting to do is...
4
by: Oenone | last post by:
Another VB6 feature that I'm missing in VB.NET is with regard to referencing projects vs. referencing DLLs. In VB6 I can reference my support library, Support.dll, and call its functions. If...
9
by: Brett Romero | last post by:
Say I have a library (A.dll) with a method that accepts a collection of a specific type. The type is defined in B.dll. In A.dll, I need to loop through this collection and reference fields of...
2
by: Chris Ashley | last post by:
I've written a C++ Wrapper DLL which I need to add a reference to in my ASP.Net project. This in turn is dependent on the DLL it wraps which is in turn dependent on some other DLLs. When I...
10
by: =?Utf-8?B?SmFjayBTbWl0aA==?= | last post by:
Hello, I have a solution that contains a C# application that is installed and runs as a service. The solution also contains several DLLs, some of which are C# assemblies and some are C++ DLLs. ...
3
by: =?Utf-8?B?a3lvbmc=?= | last post by:
Quick question. Say I have a project against the 2.0framework. I also have a dll compiled against 3.5. If I reference the 3.5 dll in the 2.0 project, how would that work? So I'm thinking that...
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...
1
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: 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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.