当我单击调试或按F5时,Visual Studio项目无法生成
问题描述:
VS2010 c#,winforms项目。
VS2010 c#, winforms project.
当我单击debug或按f5时,它不会自动生成。如果在调试之前手动构建项目,则它将编译并接受更改。
It does not build automatically when I click on debug or press f5. If I manually build the project before I debug, it compiles and changes are picked up.
我的其他项目都按预期工作。为什么它不自动构建?
My other projects all work as expected. Why doesn't it build automatically?
答
在解决方案资源管理器中右键单击解决方案(不是项目),然后选择配置管理器。检查当前配置的构建是否已关闭。
Right-click the Solution (not project) in the Solution Explorer and select Configuration Manager. Check if Build is turn off for the current configuration.