Sometimes when you hit F5 or F7, Visual Studio acts as if something has changed in your project and rebuilds it, even immediately after a fresh rebuild. This might be very annoying and time-consuming, especially when debugging big projects. I'll try to summarize what can be done to eliminate this problem.
It's all about the new MSBuild build system. Something is fooling it and instead of seeing in the build output window a message like this:
========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
you always see this:
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
The following can be done then:
I personally encountered all the three above situations and managed to solve the problem. If you have something else to say regarding this topic please let me know.
Monday, January 17, 2011
Visual C++ 2010: How To Fix The "Up-to-date Project Always Gets Rebuilt" Problem
Tags: MSBuild, MSVC10, rebuild, up-to-date, Visual Studio

0 comments:
Post a Comment