获取程序集的添加引用的.NET选项卡中显示 [英] Getting assemblies to show in the .NET tab of Add Reference

查看:383
本文介绍了获取程序集的添加引用的.NET选项卡中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用Visual Studio的工作,增加提及一个项目,您是presented多个选项卡的窗口; .NET,项目,最近,和浏览。什么是需要得到在.NET上市列出的项目?

When working with Visual Studio and adding a reference to a project you are presented a window with multiple tabs; .NET, Project, Recent, and Browse. What is needed to get an item listed under the .NET listing?

我们已经在我们认为会让他们有列出的GAC项目,但事实并非如此。我们正在寻找方法,能够获得在一个很大的开发团队,在我们的应用程序集更加一致的参考路径。

We have items in the GAC which we thought would get them listed there, but they are not. We are looking for methods to be able to get more consistent reference paths for assemblies in our applications across a very large development team.

推荐答案

您需要做一个注册表项来告诉Visual Studio中的文件夹,以显示组件。本文介绍如何做到这一点:

You need to make a registry entry to tell Visual Studio which folders to show assemblies for. This article explains how to do it:

<一个href="http://www.platinumbay.com/blogs/dotneticated/archive/2008/09/02/add-reference-and-the-gac.aspx" rel="nofollow">http://www.platinumbay.com/blogs/dotneticated/archive/2008/09/02/add-reference-and-the-gac.aspx

我们不使用GAC了,因为它是不以我们的队员给的好处一个繁琐的过程。我们解决了使用我们自己的程序集项目引用的一贯路径的问题。第三方组件去解决方案中的一个文件夹中,我们从那里引用组件中的项目。这样,每个人都有他们无后顾之忧相同的路径。

We don't use the GAC anymore as it is a cumbersome process that wasn't giving benefit to our team members. We solve the consistent path issues using project references for our own assemblies. Third party assemblies go in a folder within the solution and we reference the assemblies in the projects from there. This way everyone has them in the same path with no worries.

这篇关于获取程序集的添加引用的.NET选项卡中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆