I want add my dll to component list with dlls as shown in image How to do this by C# code
C# How to add my dll to .Net Framework Component List
2.5k Views Asked by Islam Ibrahim At
3
There are 3 best solutions below
0

It is simple.
- Sign your dll.
- Put your dll inside your framework folder.
Sample:
Copy your dll to this folder
C:\Windows\Microsoft.NET\Framework\v2.0.50727
Not matter if the Proyect that will Reference Dll is open. Try to add Reference and you will see your dll.
Hope this help.
2

The content of the .NET tab is determined by registry settings. You can easily change them:
- Start Regedit.exe
- Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft.NETFramework\AssemblyFolders key (drop Wow6432Node on a 32-bit machine)
- Right-click the AssemblyFolders key, New + Key
- Type a distinctive name, like the product or your own name. The actual string doesn't matter
- Double-click the (Default) value in the right pane and type name to the directory that contains your assemblies
- Restart Visual Studio
A sample .reg file that will add the folder, edit it for your own use:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\AssemblyFolders\Hans Passant]
@="C:\\Users\\hpass_000\\Projects\\ClassLibrary1\\bin\\Release"
Right click on toolbar, select choose Items and add your dll through browse button