[英]Visual Studio: Building in Debug mode but the files still built in Release folder
I am working on a solution in Visual Studio. 我正在研究Visual Studio中的解决方案。
I changed the build mode of the solution to be Release
, and all output files of the solution were built in example\\example\\Release\\
folder. 我将解决方案的构建模式更改为
Release
,并且该解决方案的所有输出文件都构建在example\\example\\Release\\
文件夹中。 That's expected and fine. 那是预期的,很好。 Then again I changed the mode to be
Debug
, but the files are still built in example\\example\\Release\\
folder. 然后我再次将模式更改为
Debug
,但是文件仍内置在example\\example\\Release\\
文件夹中。
I need the output files to be built in bin\\x86\\Debug\\
folder. 我需要将输出文件构建在
bin\\x86\\Debug\\
文件夹中。 How can I achieve this? 我该如何实现? Is the solution corrupted or something like that?
解决方案是否已损坏或类似问题? Should I recreate the solution?
我应该重新创建解决方案吗? Any way to find the reason for this behaviour?
有什么办法找到这种行为的原因吗?
如果解决方案中存在多个项目,这些项目具有不同的输出文件夹和相关性,则手动将输出文件夹从默认文件夹更改为其他或预期的文件夹即可解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.