How can one prevent MSBuild from rebuilding the entire project even when all targets are up to date?

Posted by Billy ONeal on Stack Overflow See other posts from Stack Overflow or by Billy ONeal
Published on 2010-05-23T19:09:27Z Indexed on 2010/05/23 19:10 UTC
Read the original article Hit count: 383

Filed under:
|
|

I've got a Visual Studio solution I'd like to build using the commandline. MSBuild is usable for this purpose, and I've done a simple batch file that looks like this:

msbuild ..\DDSCPP.sln /p:Configuration=Release /p:Platform=Win32
msbuild ..\DDSCPP.sln /p:Configuration=Release /p:Platform=x64

Unfortunately, that causes my entire solution to be rebuilt each time the command is run, rather than only building what has changed.

Am I missing something here?

© Stack Overflow or respective owner

Related posts about c++

Related posts about visual-c++