"构建和QUOT;建立我的项目,"生成解决方案"不 [英] "Build" builds my project, "Build Solution" doesn't

查看:232
本文介绍了"构建和QUOT;建立我的项目,"生成解决方案"不的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始使用VS2010。我有一个从VS2008成功迁移一个相当大的解决方案。我已经添加了所谓的测试,以解决一个控制台应用程序项目。选择建设 - >打造的解决方案不编译新的项目。选择建设 - >构建测试并构建项目。在故障情况下,不会出现错误。

I've just started using VS2010. I've got a largish solution that migrated successfully from VS2008. I've added a console application project called "Test" to the solution. Selecting build->build solution does not compile the new project. Selecting build->build Test does build the project. In the failure case, no error is given.

同样,设置此项目为启动项目和pressing F5开始调试也无法编译。

Similarly, setting this project as the startup project and pressing F5 to start debugging also fails to compile.

我这个心烦意乱。任何人都可以冷静下来我被告诉我什么,我做错了吗?

I'm upset by this. Can anyone calm me down by telling me what I'm doing wrong?

修改

我不知道这是相关与否,但今天我装AnhkSVN 2.1.8420(最新版本)。

I don't know if this is relevant or not, but today I installed AnhkSVN 2.1.8420 (latest version).

推荐答案

请确保该解决方案的配置设置来构建新的项目。

Make sure the solution configuration is set to build your new project.

转到建设|配置管理器,看看是否构建复选框被设置项目

Go to Build | Configuration Manager and see if the build checkbox is set for your project

这篇关于"构建和QUOT;建立我的项目,"生成解决方案"不的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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