"新增现有的项目和QUOT;在Visual Studio中:是有可能使"新增为纽带"默认? [英] "Add existing item" in Visual Studio: is it possible to make "Add as link" default?

查看:179
本文介绍了"新增现有的项目和QUOT;在Visual Studio中:是有可能使"新增为纽带"默认?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

指出,今年,以便回答,在添加>现有项目的对话框在Visual工作室默认显示的添加的按钮(即选定的项目将被物理复制到新的位置),而理想的作用通常是(总是?)来的添加为链接

As pointed out in this SO answer, the Add > Existing item dialog in Visual Studio by default displays the Add button (meaning that the selected items will be physically copied to the new location), whereas the desirable action is often (always?) to Add as Link.

是否有可能配置的Visual Studio这样的添加为链接的默认情况下打开的添加>现有项目时所选的对话?

Is it possible to configure Visual Studio so that Add as link is selected by default when opening the Add > Existing item dialog?

我已经彻底搜查在Visual Studio中的选项的对话框,检查的 MSDN文档的一个答案,但至今没有结果。

I have thoroughly searched the Options dialog in Visual Studio and examined the MSDN documentation for an answer to this, but so far to no avail.

项目链接将是一个不错的选择,用于自动连接,当两个项目都共享相同的代码库。但是,从现有到新项目连接大量文件的时候,人们似乎只限于的添加>现有项目的办法,这项工作可能会更加方便,不易出错如果的添加为链接的将是默认的行为。

Project Linker would be a good option for automated linking when two new projects are to share the same code base. However, when linking a large number of files from an existing to a new project, one seems to be confined to the Add > Existing item approach, and this work could be much more convenient and less prone to error if Add as link would be the default action.

推荐答案

不幸的是,有没有该选项。但有一线希望。您可以将文件拖动到项目,并将其拖放到目标文件夹。文件复制到您的项目。如果按<大骨节病>替代键做的拖放操作,文件不会被复制,而是联系在一起的。

Unfortunately, there is no option for that. But there is silver lining. You can drag files to a project and drop them to desired folder. Files are copied to your project. If you press Alt key doing drag and drop operation, files are not copied but linked instead.

这篇关于&quot;新增现有的项目和QUOT;在Visual Studio中:是有可能使&quot;新增为纽带&QUOT;默认?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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