msbuild - 子节点 "2"提前退出

标签 msbuild visual-studio-2015 windows-10-universal

我最近将我的 Windows 8.1 应用程序重新定位到 Windows 10。构建 UI 项目时出现此错误,

"MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in the temporary files directory named MSBuild_*.failure.txt."

这不是特别有用,所以我去 %temp% 寻找所述故障日志,但它不存在。我是否在错误的“临时”目录中查找?

是什么导致了这个错误?我可以在没有此错误的情况下构建我的支持库项目。

最佳答案

重新启动 Windows 为我解决了它。对于像这样的奇怪错误总是值得一试。

关于msbuild - 子节点 "2"提前退出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34905850/

相关文章:

c# - 模板选择器不起作用

mvvm - 无法建立新建立的项目(Hamburger范本)

msbuild - 使用 msbuild 扩展包验证文件夹是否存在?

windows - 使用 MSBuild 为具有可配置服务名称的 Windows 服务生成 MSI 安装程序

c# - web.config 中报错,但仅在 Visual Studio Community 2015 中未在编辑器中打开时报错

c# - 如何在 Visual Studio 中测量 ASP.NET Core 项目中的代码覆盖率?

javascript - 如何在浏览器窗口中从 Javascript Windows 通用应用程序打开 URL?

msbuild - msbuild 的 GenerateRuntimeConfigurationFiles 的目的是什么?

TFS 2012/MSBuild : adding additional conditional compilation symbols to the ones already defined in project file csproj C#

wpf - 无法加载文件或程序集 'Microsoft.Windows.Design.Interaction, Version=4.3.0.0, PublicKeyToken=b03f5f7f11d50a3a'