在 Visual Studio 中更改目标构建目录 [英] Change destination build directory in Visual Studio

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

问题描述

我是 Visual Studio 的新手.我导入了一个由几个子项目组成的 Visual Studio 项目.我可以构建所有这些文件,但我不知道 IDE 将构建后的可执行文件放在哪里.

I'm new to Visual Studio. I have imported a Visual Studio project made of several sub-projects. I can build all of them, but I don't know where the IDE put the executables files once built.

如何从 Visual Studio 获取/设置项目的目标目录?

How can I get/set the destination directory of a project from Visual Studio?

我使用的是 Visual C++ 2010 Express.

推荐答案

默认输出目录为:

$(SolutionDir)$(Configuration)\

所以默认情况下,输出二进制文件将在:

So by default, output binaries will be created in:

Path\To\Your\Solution\[Configuration]\.

配置可以是调试"或发布"之类的内容.

Configuration can be something like "Debug" or "Release".

根据您的项目设置,这些目录可能会有所不同.您可以在以下位置查看/更改这些设置:

Depending on your project settings, these directories can vary. You can see/change those settings in :

菜单项目 -> 属性 -> 配置属性 -> 常规 -> 输出目录

Menu Project -> Properties -> Configuration Properties -> General -> Output Directory

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

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