ClickOnce 在 "Verifying application requirements. This may take a few moments" 后静默停止

ClickOnce stops silently after "Verifying application requirements. This may take a few moments"

我将 the.Net 我支持的 WPF 应用程序框架从 4.5 升级到 4.5.2 并发布了该应用程序。我还 included.Net Framework 4.5.2 和 Windows Installer 4.5 按照下面 link 和互联网上其他一些文章的说明进行设置。 https://msdn.microsoft.com/en-us/library/hh873130%28v=vs.140%29.aspx

然而,在用户去安装 URL 并在最新版本 Windows 10(版本 1709)上安装应用程序并尝试 运行 该应用程序后,该应用程序在显示此 "Verifying application requirements. This may take a few moments" 消息几秒钟后静默停止。

花了很多时间撕扯我的头发,终于找到了解决这个问题的方法。应用程序在启动之前就崩溃的原因是因为部署包中缺少 Visual C++ 2013 可重新分发。 下面是帮助我解决这个问题的两篇文章。

Deploying WPF Application with 3rd Party DLLs

https://www.codeproject.com/Articles/1058700/Embedding-Chrome-in-your-Csharp-App-using-CefSharp