Add your assemblies to .NET Reference Tab in VS.NET
The
.NET tab of the Add Reference dialog box displays system assemblies and Primary
Interop Assemblies that are supplied with the .NET Framework and optionally
other assemblies. These are usually (but not necessarily) those installed in
the GAC.
You
can enable your own assemblies to appear in this list, but this requires a
registry modification to designate the folder or folders that contain your
assemblies.
For
example, you could apply registry updates to point to the folders that contain
assemblies built by your build script (either locally or on the build server).
This allows developers to reference these assemblies from the .NET tab and
avoids the use of the Browse button.
To add your own assemblies to the .NET tab
-
Create a new registry key (for example, one called
InnerSystemAssemblies) beneath either of the following registry keys:
HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\AssemblyFolders
HKEY_CURRENT_USER\Software\Microsoft\.NETFramework\AssemblyFolders
-
Set the new key's default value to point to the folder that
contains your assemblies.
-
If you have Visual Studio .NET open, you must close it and then
launch it again for the changes to take effect.
|