在Visual Studio项目中构建文件 [英] Structuring files in Visual Studio projects

查看:73
本文介绍了在Visual Studio项目中构建文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的源代码位于Visual Studio项目目录之外(例如C:/ Project中的项目和C:/ SourceCode中的源代码)。我们需要将源代码作为链接添加到项目中(因为源代码被许多其他项目重用)。在这种情况下,是否可以指示Visual Studio(2010,2013)在解决方案资源管理器窗口中自动维护源代码的目录结构(与文件系统完全相同)?通过在解决方案资源管理器中创建目录来手动创建结构非常耗时。



Qt Creator正是我想要的。希望Visual Studio能够以同样的方式完成它。

We have our source code located outside Visual Studio project's directory (e.g. project in C:/Project and source code in C:/SourceCode). We need to add our source code to the project as links (because the source code is reused by many other projects). In this situation, is it possible to instruct Visual Studio (2010, 2013) to automatically maintain the directory structure of our source code (exactly as the file system) in Solution Explorer window? Making the structure manually by creating directories in Solution Explorer is time consuming.

Qt Creator does exactly what I want. Hopefully Visual Studio is able to do it the same way.

推荐答案

这篇关于在Visual Studio项目中构建文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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