添加现有文件不同的Visual Studio 2010的项目 [英] Adding Existing Files To Different Visual Studio 2010 Project
问题描述
有可能将文件添加到位于不同的目录然而,文件保存在这些目录中,并更新这些文件,当您更新项目的文件中的Visual Studio项目?当我现有的文件添加到项目中,它的作用是将它们复制到项目,然后更新复制的文件,而不是原始文件。有没有什么办法得到它的工作的其他方式?
It is possible to add files to a visual studio project that is located in a different directory however keep the files in those directories and update those file when you update the file in the project? When I add existing files to a project, all it does is copy them to the project and then update the copied files, not the original files. Is there any way to get it to work the other way?
推荐答案
您应该将其添加为一个链接/快捷键
You should add them as a link/shortcut
右键单击该项目,选择添加>现有项,然后在对话框中,添加下拉菜单中选择添加链接。
Right-click the project, select Add > Existing Item, and in the dialog, "Add" drop down, select "Add As Link".
这篇关于添加现有文件不同的Visual Studio 2010的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!