How to solve the infamouns AlwaysCreate=True rebui

2019-07-22 04:31发布

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.

  1. 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 from Tools->Project and Solutions->Build and Run->MSBuild Project build output->verbosity.
  2. 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]
  3. looking for files added to the project that are missing form disk, that's almost impossible, should I use the mechanicalturk for this?
  4. 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:

0条回答
登录 后发表回答