【问题标题】:Child Node "2" exited prematurely and StackOverflowException after Upgrade to 2019 Community升级到 2019 社区后,子节点“2”过早退出和 StackOverflowException
【发布时间】:2019-04-03 22:35:49
【问题描述】:

我在 Visual Studio 2019 Community 发布后迅速升级到它。在此之前我一直在使用 2019 Beta,没有任何问题。升级后,我的 WPF 应用程序停止构建。从VS,我得到:

Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\bpopp\AppData\Local\Temp\" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory

据我所知,那个位置没有日志。我已经尝试卸载并重新安装了几次,并进行了多次重新启动。此应用程序在升级之前编译并运行良好,并且我验证了与 Microsoft 的开箱即用 WPF 应用程序相同的错误。我还尝试使用 MSBUILD 从命令行构建应用程序并收到此错误:

ValidateSolutionConfiguration:  Building solution configuration "Debug|Any CPU". Project "C:\Users\bpopp\source\repos\WpfApp1\WpfApp1.sln" (1) is building "C:\Users\bpopp\source\repos\WpfApp1\WpfApp1\WpfApp1.csproj" (2) on node 1 (default targets).
GenerateBindingRedirects:  No suggested binding redirects from ResolveAssemblyReferences.MainResourcesGeneration: 
Skipping target "MainResourcesGeneration" because all output files are up-to-date with respect to the input files.

Process is terminated due to StackOverflowException.

我尝试了一些非 WPF 应用程序,但它们似乎没有受到影响。有什么想法吗?

【问题讨论】:

    标签: c# .net wpf visual-studio visual-studio-2019


    【解决方案1】:

    万一有人碰到这个。我的 Windows 10 操作系统似乎已损坏。我开始在某些第三方应用程序(可能是 WPF 应用程序)中收到“运行时错误 216”错误。谷歌表明这与损坏的 Windows 数据库文件有关,通常是由病毒或木马引起的。就我而言,我不相信它是病毒,而是由安装失败引起的。使用预览版更新我的 Windows 10 安装并重新启动后,运行时错误消失了,我的 WPF 应用程序正在重新构建。

    【讨论】:

      猜你喜欢
      • 2016-04-26
      • 2011-12-16
      • 2015-05-05
      • 2020-03-12
      • 1970-01-01
      • 2014-11-17
      • 1970-01-01
      • 1970-01-01
      • 2018-12-05
      相关资源
      最近更新 更多