views:

1206

answers:

5

I am debugging someone else's work and the solution is quite large. When I try to build the entire thing, several projects within the solution don't build and just skip. Viewing the output window during the build process says:

1>------ Skipped Rebuild All: Project: pr1lib ------

How can I determine why these builds were skipped? I am unable to find additional output.

This is with VS2008 and the solution is comprised of c# and c++ code.

+5  A: 

Right click the solution, choose Properties and then Configuration Properties. Here you can choose which projects to build.

Tchami
Except when everything is selected there and projects are still skipped...
romkyns
I was having a mysterious "Skipped build", and when I looked in configuration properties the project was indeed marked for build. However, the project build target was configured for "Mixed Platforms" while the solution was set to build "Any CPU" -- changing these to match fixed the problem.
kdt
Thanks @kdt; that fixed my problem.
Michael
A: 

Go to the build menu and choose "configuration manager". This will show which projects are configured to build in your selected configuration.

1800 INFORMATION
A: 

make sure you do a "clean" first .. Visual Studio typically won't re-build a project that isn't out of date (as far as it's concerned) and will just re-use the object code it already has.

Running a clean should clear out all previously compiled code and VS shouldn't skip the project (assuming the configuration manager has the projects selected to build ... see previous answer).

Hope that helps.

Robert French
No, when a project is up-to-date VS says so in the log, and doesn't count it as "skipped".
romkyns
+2  A: 

If the confixguration is x64 and the x64 compiler isn't installed it will skip the project.

Dave
A: 

Had the same problem, found out that the project setting was for Itanium CPU, changing it to Intel fixed it.

Toddintr