build" />
开发者

"Build" builds my project, "Build Solution" doesn't

开发者 https://www.devze.com 2023-01-21 06:52 出处:网络
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

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.

Similarly, setting t开发者_如何学JAVAhis 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?

EDIT

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


For me it was incorrect build order. Right click on the solution and click on Project Build Order.... If anything is built in the wrong order switch to tab Dependencies and set correct values. After this everything worked for me.

0

精彩评论

暂无评论...
验证码 换一张
取 消