我们有许多 Windows 服务安装程序移至 Wix 3.7,我们的 TFS 构建现在因错误而中断:
MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.
System.InvalidOperationException: Cannot dispose the build manager because it is not idle.
at Microsoft.Build.Shared.ErrorUtilities.ThrowInvalidOperation(String resourceName, Object[] args)
at Microsoft.Build.Execution.BuildManager.Dispose(Boolean disposing)
at Microsoft.Build.Execution.BuildManager.Dispose()
at Microsoft.Build.CommandLine.MSBuildApp.BuildProject(String projectFile, String[] targets, String toolsVersion, Dictionary`2 globalProperties, ILogger[] loggers, LoggerVerbosity verbosity, DistributedLoggerRecord[] distributedLoggerRecords, Boolean needToValidateProject, String schemaFile, Int32 cpuCount, Boolean enableNodeReuse, TextWriter preprocessWriter, Boolean debugger, Boolean detailedSummary)
at Microsoft.Build.CommandLine.MSBuildApp.Execute(String commandLine)
此错误发生在所有 MSI 已成功构建并复制到放置文件夹后,表明任务或目标本身没有问题,只是构建管理器无法处理。网络搜索显示的信息很少。
这指向构建管理器引用争用,这似乎是 - 尽管应用解决方法环境变量没有效果。
在他们的环境中从 vdproj 过渡到 WiX 期间,是否有其他人经历过这种情况?还有人对从 TFS/msbuild 中获取有关错误的更多详细信息有任何建议吗?