简体   繁体   English

整个解决方案始终重建(Visual Studio 2015使用IncrediBuild 7.31)

[英]Entire solution is always rebuild (Visual Studio 2015 using IncrediBuild 7.31)

When compiling a particular solution in Visual Studio 2015 using IncrediBuild 7.31 it always insist on rebuilding the entire solution even when no files have changed. 使用IncrediBuild 7.31在Visual Studio 2015中编译特定解决方案时,即使没有更改文件,也始终坚持重建整个解决方案。 I only see this behaviour for the solution on a particular (older) branch. 我只在特定(较旧)分支上看到此解决方案的行为。

I have used the setting from the answer to VS2010 always thinks project is out of date but nothing has changed : "Tools->Options->Projects and Solutions->Build and Run->MSBuild project build output verbosity": Diagnostic. 我已经使用了答案中的设置VS2010总是认为项目已经过时但没有任何改变 :“工具 - >选项 - >项目和解决方案 - >构建和运行 - > MSBuild项目构建输出详细程度”:诊断。 This gives me output like this: 这给了我这样的输出:

1>Project not up to date because the following 36 build inputs were missing:
1> up to date is missing: 'C:\PROGRAM FILES (X86)\XOREAX\INCREDIBUILD\MODULECACHE\220C7\11AC8\C1.DLL'
1> up to date is missing: 'C:\PROGRAM FILES (X86)\XOREAX\INCREDIBUILD\MODULECACHE\220C7\11AC8\C1XX.DLL'
1> up to date is missing: 'C:\PROGRAM FILES (X86)\XOREAX\INCREDIBUILD\MODULECACHE\220C7\11AC8\C2.DLL'
1> up to date is missing: 'C:\PROGRAM FILES (X86)\XOREAX\INCREDIBUILD\MODULECACHE\2B0E5\11AC8\C1.DLL'

Does anyone know how I can avoid that the compiler thinks that "Project not up to date"? 有谁知道我怎么能避免编译器认为“项目不是最新的”?

Removing the /Bv flag solves the problem for me. 删除/ Bv标志为我解决了问题。 (It turns out that a colleague of mine had fixed it in the newer branch.) (事实证明我的一位同事已将其修复到新的分支中。)

I consider it a bug in IncrediBuild. 我认为它是IncrediBuild中的一个错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将Incredibuild与Visual Studio解决方案文件一起使用后,没有构建时间加速 - No buildtime speedup after using Incredibuild with Visual Studio Solution file Visual Studio“重建解决方案”顺序 - Visual Studio “Rebuild Solution” order 什么可以导致Visual Studio一直重建我的整个解决方案? - what can cause Visual Studio to rebuild my entire solution all the time? 在incredibuild中启用Microsoft Visual Studio x64工具 - Enable using Microsoft Visual Studio x64 tools in incredibuild 解决方案重建在命令行中使用MSBuild失败,但Visual Studio重建工作正常 - Solution rebuild fails using MSBuild in command line but Visual Studio rebuild works fine Visual Studio需要为每个更改重建解决方案 - Visual Studio need to rebuild solution for every change Visual Studio:在每次运行时重建解决方案......如何? - Visual Studio: rebuild solution on each run…how? 在Visual Studio 2008中重建解决方案的快捷方式 - Shortcut to rebuild solution in Visual Studio 2008 解决方案在Visual Studio中不运行/构建/重建 - Solution doesnt run/build/rebuild in Visual Studio Visual Studio 中构建解决方案、重建解决方案和清理解决方案之间的区别? - Difference between Build Solution, Rebuild Solution, and Clean Solution in Visual Studio?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM