Musings of Geekdom by Eric Newton

tail /var/log/thoughts
posts - 88 , comments - 41 , trackbacks - 68

How *NOT* to Add assemblies to VS's Add References Dialog

My fellow collegue here at states a way to add assemblies to Visual Studio's Add References dialog box.

I would recommend NOT using the first method described, copying into the IDE/Common Assemblies folder.  This is reserved for Visual Studio's OWN assemblies that support the IDE and should NOT have random assemblies copied into it.  For starters, determining the correct version of the IDE is difficult and may change.

However, use of the second method, registering in the .NETFramework\AssemblyFolders registry key is the RECOMMENDED way.  This provides a generic, Microsoft .NET Framework endorsed way of telling the current system that your assembly is available.

For those who want to know, its the registry key:

PS: Hope everyone had a good Thanksgiving!

UPDATE!   Ironically I was just reading, and first up was this post regarding this very topic:  Adding assemblies to the Add References dialog in Visual Studio 2005   He talks about a more framework version specific way and a current user specific way.

Print | posted on Monday, November 28, 2005 5:32 PM |



# re: How *NOT* to Add assemblies to VS's Add References Dialog

Indeed, I agree completely. That was an old post (in my old blog) from about a year back, when I first looked into the issue. I'm probably removing that post because since that time I made another post with a more thorough description (we can't post URLs in comments but this one ends in 2005/11/28/61446.aspx ;-)

Anyways, good catch.

12/1/2005 1:41 PM | Juan Ignacio Gelos
Comments have been closed on this topic.

Powered by: