By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,495 Members | 1,298 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,495 IT Pros & Developers. It's quick & easy.

"Add Reference" Dialog doesn't show the installed assembly in GAC

P: n/a
Hi,

I am using Visual Studio 2005.

I have added a DLL into GAC. I can confirm that by going to
C:\WINDOWS\assembly and see the assembly name.

Now I am trying to use the assembly by adding a reference to it. In "Add
Reference" dialog box, I go to ".NET" tab, but I cannot find the assembly!

I assume that I am missing some steps here.

What do I miss?

Any help would be appreciated,

Max
Mar 22 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
I think maybe i can help you with this one. Did you notice that there is a
button on the dialog for adding references labled "Browse" Clicking this
will open the standard file open navigation dialog and you can just pluck
your assembly from any location that's accessable and after selecting it, it
will be added to the References section of your project and be available to
your project (can be a little tricky sometimes getting namespaces recognized,
but, basically it's "IT JUST WORKS" type technology ( pretty transparent)).
In other words, dealing with the GAC directly is not a necessary thing if all
you want is to add References to a project. On the other hand, If your real
goal is to get the assembly installed properly in the GAC and listed in the
..NET category of the Add ref dialog, sorry, of those areas I don't think my
experience is sufficient to advise.
Mar 23 '06 #2

P: n/a

I am sot sure Browse is proper way to deal with assemblies in GAC. AFAIK,
browse is for DLLs within folders other than GAC.

"ManConfusedByMouse" <Ma****************@discussions.microsoft.com> wrote in
message news:35**********************************@microsof t.com...
I think maybe i can help you with this one. Did you notice that there is a
button on the dialog for adding references labled "Browse" Clicking this
will open the standard file open navigation dialog and you can just pluck
your assembly from any location that's accessable and after selecting it,
it
will be added to the References section of your project and be available
to
your project (can be a little tricky sometimes getting namespaces
recognized,
but, basically it's "IT JUST WORKS" type technology ( pretty
transparent)).
In other words, dealing with the GAC directly is not a necessary thing if
all
you want is to add References to a project. On the other hand, If your
real
goal is to get the assembly installed properly in the GAC and listed in
the
.NET category of the Add ref dialog, sorry, of those areas I don't think
my
experience is sufficient to advise.

Mar 23 '06 #3

P: n/a
Hi Maxwell,
If Browse can't display the assemblies in GAC correctly, it is possible
that the issue is caused by the fact that the shfusion.dll extension didn't
register properly. So the shell extension didn't execute properly. If this
happens on your system, open a command prompt and enter the following from
the c:\winnt\Microsoft.net\framework\vXXX folder, where XXX represents the
version number of the .NET Framework that you're running. Search for the
shfusion.dll file, and use that folder. Here I've used the folder
representing my current .NET build:
c:\winnt\microsoft.net\framework\v1.0.3705>regsvr3 2 shfusion.dl

I hope the above information is helpful for you. Have a nice day!

Best Regards,

Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
From: "Maxwell2006" <al******@newsgroup.nospam>
References: <uK**************@TK2MSFTNGP10.phx.gbl> <35**********************************@microsoft.co m>Subject: Re: "Add Reference" Dialog doesn't show the installed assembly in GACDate: Thu, 23 Mar 2006 07:11:02 -0500
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Message-ID: <ui**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: mtl-hse-ppp170505.qc.sympatico.ca 65.94.105.17
Path: TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.dotnet.languages.csharp:394005
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
I am sot sure Browse is proper way to deal with assemblies in GAC. AFAIK,
browse is for DLLs within folders other than GAC.

"ManConfusedByMouse" <Ma****************@discussions.microsoft.com> wrote inmessage news:35**********************************@microsof t.com...
I think maybe i can help you with this one. Did you notice that there is a button on the dialog for adding references labled "Browse" Clicking this
will open the standard file open navigation dialog and you can just pluck
your assembly from any location that's accessable and after selecting it, it
will be added to the References section of your project and be available
to
your project (can be a little tricky sometimes getting namespaces
recognized,
but, basically it's "IT JUST WORKS" type technology ( pretty
transparent)).
In other words, dealing with the GAC directly is not a necessary thing if all
you want is to add References to a project. On the other hand, If your
real
goal is to get the assembly installed properly in the GAC and listed in
the
.NET category of the Add ref dialog, sorry, of those areas I don't think
my
experience is sufficient to advise.



Mar 24 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.