"Register the components in GAC" and referencing them ...

Posted on 2008-02-03
Medium Priority
Last Modified: 2013-11-26

I have created a component (MyFirstComponent) in Visual Basic.NET 2008. I have done the following steps to register the component:

1. gacutil /i MyFirstComponent.dll
2. Start -> Run -> RegEdit
3. MyComputer -> HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> .NET FrameWork -> Assembly Folders
4. Right Click on Assembly Folders ( New -> Key )
5. Give the name as "My Assembly"
6. Double click on "Default"
7. In the Edit String give the following
8. Value Data = C:\Windows\Assembly\GAC\MyFirstComponent\Version__Public Key

Now when i am trying to reference it in TestHarness application, in .NET tab, i have NOT found my assembly to reference. Can you please specify where i am missing ?

Question by:milani_lucie
  • 3
  • 2
LVL 53

Expert Comment

ID: 20812487
HOWTO: Register an Assembly in the GAC

Author Comment

ID: 20812522
How can i make it availabe in "Reference" dialog box ? I want to make it available under .NET tab. (There are other tabs such as .NET / COM / PROJECT / BROWSE etc...)


Author Comment

ID: 20812532
I want to do the following:

1. Right click on project.
2. Choose "Add Reference" -> I want to pickup the assembly reference from .NET tab in "Add Reference" dialog box.

LVL 53

Accepted Solution

Dhaest earned 1000 total points
ID: 20812544
How to display an assembly in the Add Reference dialog box

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.

Author Comment

ID: 20817149
Same steps like the above what i have mentioned. It is not working in Visual Studio 2008. Let me check on my side one more time.


Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question