in

Platinum Bay

Peace, Love and Visual Studio Team System

.NETicated

From the Forums: Add Reference and the GAC

It is a very popular misconception that adding an assembly to the GAC will enable it to show up in a project's Add Reference dialog in Visual Studio. Unfortunately, and to the chagrin of many, this is not true. This myth is perpetuated every time we install a third party component or library, it shows up in the GAC, and we can then add it from the Add Reference dialog.

But there is something else going on under the covers. The Add Reference dialog is path-based, meaning it uses physical paths on the file system, retrieved from the registry. The root key is:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\

 

Published Feb 29 2008, 11:13 PM by Steve
Filed under:

Comments

March 3, 2008 12:20 AM

Link Listing - March 2, 2008

 

March 3, 2008 12:20 AM

ASP.NET Elegant navigation bar using CSS [Via: Antonio ] Sharepoint Silverlight in SharePoint [Via:...

 

Leave a Comment

(required )  
(optional )
(required )  
Add

About Steve

Steve Andrews has been working as a developer for more than 8 years. During this time, he has designed and developed applications in such widely varying areas as trust accounting, medical information management, supply chain management, and retail systems. He has firsthand developer experience with a variety of languages, including Java, VB, and .NET. Most recently, he has been immersed in SharePoint. He is currently employed at RDA Corporation in Philadelphia, PA, as a Software Engineer and a team member in the Architectural Guidance evangelism team. Steve is also an MTCS (x2), ICSOO, and .NET fanatic.
Powered by Community Server (Commercial Edition), by Telligent Systems
© Platinum Bay | Some Rights Reserved Creative Commons License

Disclaimer: The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or annonymous comments) - so keep it polite, please.