If you use Visual Studio ide to build your project, you must add the Assembly you want to reference to your project. to do this, open Solution Explorer, right-click the project you want to add the Assembly reference, and select the Add reference menu item. The add reference dialog box is displayed, as shown in:
To allow your project to reference an assembly, select the assembly to be referenced from the list. if the Assembly you want to reference is not in this list, click the Browse tab to browse the assembly to be referenced (including the manifest file) and add the Assembly reference. the com tab in the Add reference dialog box allows you to access the unmanaged COM server in the hosted source code. This is achieved through the managed proxy class, which is automatically generated by Visual Studio. the projects Tab allows the current project to reference the Assembly created by another project in its solution. the recent Tab allows you to select the Assembly you recently added to other projects.
To make your assembly appear in the. NET tab list, add the following sub-keys to the registry:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \. netframework \ assemblyfolders \Mylibname
Mylibname is the only name you have created -- this name is not displayed in Visual Studio. after creating this subkey, change its default string value to point to a directory path containing your assembly (for example, "C: \ Program Files \ mylibpath ").