How to install .net dll?

In visual studio, when a user adds a link, another dialog box will be displayed and a list of .net components will be displayed. I am trying to copy a dll to the GAC folder, but I do not know how to make this dll appear in the Add Link dialog box. Does anyone know why? Thanks in advance!

+4
source share
2 answers

You either need to make sure that your dll is located in the Visual Studio public assemblies folder, or that its location in the folder is known to certain specific Visual Studio registry keys. For more information and specific folder locations and settings, refer to the following URL:

http://msdn.microsoft.com/en-us/library/wkze6zky(VS.80).aspx

The reason Visual Studio needs to know specifically where all the DLLs live is likely to try to improve the performance of the very slow Add Links dialog box.

+2
source

If you do not plan to use this DLL in any other application, there is no need to install it as a common dll in the GAC. Just go to the "Overview" tab under the "Add Link" link and find the folder in which you create your assembly (the "Debug or Release" folder inside the project).

If you still think you need this DLL for sharing, you must first set a strong name for it. Follow this link for instructions:

http://www.dotnetspider.com/resources/1950-Install-an-Assembly-GAC-Global-Assembly-Cache.aspx

+3
source

All Articles