How to solve the infamouns AlwaysCreate=True rebuild issue with msbuild?

≯℡__Kan透↙ 提交于 2020-01-04 05:17:06

问题


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:

  • build.log

来源:https://stackoverflow.com/questions/17900716/how-to-solve-the-infamouns-alwayscreate-true-rebuild-issue-with-msbuild

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!