FROM:
http://msdn.microsoft.com/en-us/library/wkze6zky.aspx
-
Move or copy the assembly to one of the following locations:
-
The current project directory. (You can find these assemblies by using the Browse tab.)
-
Other project directories in the same solution. (You can find these assemblies by using the Projects tab.)
-
The Public Assemblies folder: Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Public Assemblies. (You can find these assemblies on the .NET tab.)
-
Set a reference path to the directory that contains the assembly by using the Reference Paths Dialog Box (Visual Basic) or the Reference Paths Page, Project Designer (C#).
-
Set a registry key that specifies the location of assemblies to display:
Add one of the following registry keys, where <AssemblyLocation> is the directory of the assemblies that you want to appear in the Add Reference dialog box, for example, C:\MyAssemblies\.
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework\<version>\AssemblyFoldersEx\MyAssemblies]@="<AssemblyLocation>"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\<version>\AssemblyFoldersEx\MyAssemblies]@="<AssemblyLocation>"
Note:
Creating the registry key under the HKEY_LOCAL_MACHINE node allows all users to see the assemblies in the specified location in the Add Reference dialog box. Creating the registry key under the HKEY_CURRENT_USER node affects only the setting for the current user.
Invoke the Add Reference dialog box again; the assemblies should appear on the .NET tab. If they do not, ensure that the assemblies are located in the specified <AssemblyLocation> directory, restart Visual Studio, and try again.