I've spent far too much time trying to solve the problem of msbuild rebuilding your projects without any special reasons.
As a remark, I did these on Visual Studio 2012, but probably most of these would also happen with 2010.
I will provide all the steps found so far and wait for the real solution, as crearly what I found so far online did not solve the problem.
- Enable detailed build logs inside
devenv.exe.config
so we can debug what really happens. here. I assume that's the same as changing it fromTools->Project and Solutions->Build and Run->MSBuild Project build output->verbosity
. - Assured that IntDir runs on the same disk as TargetDir (details)[http://connect.microsoft.com/VisualStudio/feedback/details/760370/linker-does-not-link-if-intermediate-directory-with-changed-object-files-is-on-another-drive]
- looking for files added to the project that are missing form disk, that's almost impossible, should I use the mechanicalturk for this?
- Tried to look use
findstr /si AlwaysCreate
but without any outcomes.
Things that could have an impact:
- I am building on a network drive which is mapped by Parallels, so I can use the same files under OS X and Windows.
Additional debug information: