简体   繁体   English

Visual Studio在运行之前不会构建应用程序

[英]visual studio doesn't build application before running it

I have a visual studio application that when I click on debug, even when I made some changes to it, it is not build the exe and I need to do it manually by clicking on build from menu. 我有一个Visual Studio应用程序,当我单击debug时,即使对它进行了一些更改,它也不能生成exe,我需要通过从菜单中单击build来手动执行。 How can I change this behaviour? 我该如何改变这种行为?

Check configuration manager (right click on the solution node) and verify that the project is set to be built for the current configuration. 检查配置管理器(在解决方案节点上右键单击),并验证是否已将项目设置为针对当前配置构建。 If the project is not selected to build, the last built version will run instead. 如果未选择构建项目,则将运行最后一个构建的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM