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


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 ?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HOWTO: Register an Assembly in the GAC
milani_lucieAuthor Commented:
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...)

milani_lucieAuthor Commented:
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.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
milani_lucieAuthor Commented:
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.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.