如何让 Incredibuild 显示 Visual Studio C++ 项目失败?

How can I get Incredibuild to to show Visual Studio C++ project failures?

当 运行 通过 Incredibuild 构建 C++ 时,"output" 不会显示错误。这是通过 IDE 和命令行构建 (BuildConsole) 的情况。 在 IDE/Build 监视器 window 上,错误在 Projects Display 上可见,错误为:

Visual Studio has yet to receive the output of this task. Once this output reaches Visual Studio, it will be shown in the IncrediBuild main output pane.

对于自动化的命令行构建,不会记录这些错误。 BuildConsole 的所有日志记录选项仅回显 Output Display

生成监视器的副本

是否有解决方法 BuildConsole 记录 "Project Output" 或结果 'reach' Visual Studio?

环境:

这是一个已知问题,与我们最近推出的性能优化功能有关。 这种预测执行功能可以并行构建部分依赖项目,从而在 IncrediBuild 已经提供的基础上为 Visual Studio 编译提供额外的性能提升。借助此功能,IncrediBuild 以 "out-of-order" 方式执行任务,这可能会出现遇到错误的情况,但 MSBuild 的输出尚不可用。 在我们努力解决此问题的同时,我们添加了一个 "task output preview" 对话框,以便用户能够在这些情况下在构建监视器中查看任务的错误消息。 如果此中间解决方案不能满足您的要求,您可以轻松禁用预测执行功能: 在 Initiator 机器上,打开 IncrediBuild Agent Settings -> Visual Studio Builds -> Advanced。在 Predictive Execution 部分下,取消选中 Enhance throughput using out-of-order tasks spawning

免责声明:本文作者 post 在 IncrediBuild 工作。