spender
spender

Reputation: 120548

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

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 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?

EDIT

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

Upvotes: 10

Views: 5080

Answers (2)

Ogglas
Ogglas

Reputation: 70314

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.

Upvotes: 0

Brad Cunningham
Brad Cunningham

Reputation: 6501

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

Upvotes: 24

Related Questions