Visual Studios Express-更改调试输出目录 [英] Visual Studios Express - change debug output directory
本文介绍了Visual Studios Express-更改调试输出目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以通过VS项目将调试EXE生成到bin/debug以外的目录?
Is there a way to get a VS project to build the debug EXE to a directory other than bin/debug?
我发现了这一点: http://msdn.microsoft.com/en-us/library/ms165410%28v=vs.80%29.aspx
但是,这仅适用于RELEASE,而不能用于调试.
However, that is only for the RELEASE not for debug.
更新:
我没有提到这是针对Express版本的,而不是针对完整版本的.
I failed to mention this is for the Express version, not the full version.
对于任何想做同样事情的人,这是如何做:
For anyone else who wants to do the same, here is how:
- 打开您的".csproj"文件.
- 找到一个元素"PropertyGroup",该元素定义了调试构建过程.
- 然后,在内部找到另一个名为"OutputPath"的元素.只需将其文本的值更改为要将调试输出转到的目录即可.
推荐答案
更改构建输出目录:
On the Project menu, click Properties.
Click the Build tab.
Click the Browse button next to the Output path box and select a new build output directory.
.
这篇关于Visual Studios Express-更改调试输出目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文