How to make our assemblies appeared in Add Reference dialog box

原创 2005年05月28日 19:14:00

I guess most of us may be confronted with a same issue: we can not see our assemblies displayed in Add Reference dialog box in Visual Studio .net.

Generally, an assembly may be used by several solutions, teams, or even companies. When a developer want to add a reference to an assembly for a solution in visual studio, he may prefer finding the assembly in the Add Reference dialog box without having to search for it. But how to implement that? Even if we install the assembly in the Global Assembly Cache(GAC), the issue is not resolved.

Actually, it's very simple to implement the function. The Add Reference dialog box is just path-based and does not enumerate components from the GAC, So we can add the path to the assembly for it. The detailed steps are:

  • Run regedit, and search for the registry key HKEY_CURRENT_USER/SOFTWARE/Microsoft/.NETFramework/AssemblyFolders
  • Create a sub registry key with any name your prefer, and set the full path to the assembly as its default value.
  • Then you can see your assembly displayed in the Add Reference dialog box.

For more information, please visit How to display an assembly in the Add Reference dialog box.

错误 the type "xxxx" is defined in an assembly that is not refernced.You must add a reference to assem

遇到这个错误两次了...第一次我忘了是怎么解决的,今天又遇到了.. 网上了查了下,要把最后 System.core开始到结尾的字符串配置到web.config里面。请看下面: ta...

C#解决类似System.Data.SQLite.SQLiteParameter' is defined in an assembly that is not referenced. You must

原错误: The type 'System.Data.SQLite.SQLiteParameter' is defined in an assembly that is not referenced...

How to make your Web Reference proxy URL dynamic

Introduction I have been asked before, how to make the URL property for a web reference to a web se...

How To Skip Search Dialog Box

Sometimes you want to skip Search dialog box during the Page display when a component gets loaded. L...

在cadence中添加pspice(How to add p-spice lib in cadence)

How to add p-spice lib in cadence. 1.      First, you need to download aspice lib online and name it...
  • hjl240
  • hjl240
  • 2016年03月11日 10:38
  • 1639

How to add the patch in apache community?

1、开发环境准备: 要对apache hadoop 源码进行开发,首先需要搭建本地hadoop源码开发环境。本地Linux系统需要安装JDK1.8, maven,ProtocolBuffer2....

How to add SOA Server (any FMW) Target in EMGC 11g

How to add SOA Server (any FMW) Target in EMGC 11g? Steps for discovering SOA (any FMW) target: ...

How to Add/Drop/Resize Redo Log with Physical Standby in place. [ID 473442.1]

How to Add/Drop/Resize Redo Log with Physical Standby in place. [ID 473442.1] ...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:How to make our assemblies appeared in Add Reference dialog box
举报原因:
原因补充:

(最多只允许输入30个字)