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

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

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
3 5752
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

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Maksim Chepel | last post by:
Just what the subject says. Thanks a lot!
1
by: Mark Sanders | last post by:
I am wanting to create my own "Item" for use in the "File|Add New Item" dialog window. Does anyone know of any resources which would point me in the right direction? FYI: The item I want to...
3
by: Brad Quinn | last post by:
Is there a way to add an assembly to the .NET tab of the "Add Reference" dialog?
3
by: Samuel R. Neff | last post by:
I just started having a problem with the Add Reference dialog not displaying in VS.NET 2003. Whenever I click Add Reference the dialog doesn't display. I've tried several different projects and...
1
by: PJSimon | last post by:
In regards to this MSDN article: http://support.microsoft.com/default.aspx?scid=kb;en-us;306149 .... how do I add the registry key? I got confused on three points: 1) I do not have a key...
6
by: mihailsmilev | last post by:
Hello, let me first describe the situation: I am developing an application using Qt Designer 3.3.5 on OpenSuSE Linux for my mp3 player. So I need to get the id3 tags from the mp3 files, and I've...
1
by: scartin | last post by:
I'm fairly new to working with ASP web controls, and am running into what seems to be a ridiculous problem that I'm hoping will be a breeze for an experienced ASP developer. I have a GridView...
5
by: SunnyDrake | last post by:
HI! I wrting some program part of it is XML config parser which contains some commands(for flexibility of engenie). how do i more simple(if it possible not via System.Reflection or...
0
by: cfps.Christian | last post by:
I'm at my wits end trying to figure out this stupid error. <asp:Panel ID="pnlDep" runat="server"> <asp:Label ID="lblDep" runat="server" Text="Department: " /> </asp:Panel> <asp:Panel...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.