There are two ways in which this can be done. The first way is to use the provided Public assembly folder that is installed with VS.Net.
This folder is: ‘C:Program FilesMicrosoft Visual Studio .NETCommon7IDEPublicAssemblies’
All assemblies in this folder will be picked up by the ‘Add Reference’ dialog under the ‘.NET’ tab, and the ‘Customize Toolbox’ under the ‘.NET Framework Components’ tab.
Now, you are not limited to using this folder. You can specify your own public assembly folder by adding a key to the registry.
If you look at the following key:
‘HKEY_LOCAL_MACHINESOFTWAREMicrosoftVisualStudio7.0AssemblyFolders’, you will see a subkey named ‘PublicAssemblies’. This is where the path above is specified as a public assembly folder. To add your own folder, create a key (e.g. MyAssemblies), and set the default value to be the desired path.