发布后,我迅速升级到了Visual Studio 2019社区。我之前一直在使用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应用程序,它们似乎没有受到影响。有什么想法吗?
答案 0 :(得分:0)
万一有人碰到这个。我的Windows 10操作系统似乎已损坏。我开始在某些第三方应用程序(可能是WPF应用程序)中收到“运行时错误216”错误。谷歌表明这与Windows数据库文件损坏有关,通常是由病毒或木马引起的。就我而言,我不认为这是病毒,而是由安装失败引起的。使用预览版更新Windows 10安装并重新启动后,运行时错误消失了,我的WPF应用程序又重新构建了。