当我单击调试或按F5时,Visual Studio项目无法生成 [英] Visual Studio project not building when I click debug or press F5

查看:143
本文介绍了当我单击调试或按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.

这篇关于当我单击调试或按F5时,Visual Studio项目无法生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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