仅在这一台 Win 10 PC 上它不起作用,它只是无法启动,没有任何消息为什么,甚至在日志中也没有。我什至禁用了防火墙和防病毒软件。我什至尝试过复制 exe 文件并在不部署的情况下启动它,并且它有效,因此该程序没有问题。接下来我该怎么办?
这是日志:
PLATFORM VERSION INFO
Windows : 10.0.17134.0 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.7.3056.0 built by: NET472REL1
clr.dll : 4.7.3110.0 built by: NET472REL1LAST_C
dfdll.dll : 4.7.3056.0 built by: NET472REL1
dfshim.dll : 10.0.17134.1 (WinBuild.160101.0800)
SOURCES
Deployment url : file:///C:/Users/Vlatka/Desktop/Sindikat.appref-ms%7C
Server : Microsoft-IIS/10.0
X-Powered-By : ASP.NET
Deployment Provider url : http://...
ERROR SUMMARY
No errors were detected during this operation.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
* The manifest for this application does not have a signature. Signature validation will be ignored.
OPERATION PROGRESS STATUS
* [25.5.2018. 11:09:29] : Activation of C:\Users\Vlatka\Desktop\Sindikat.appref-ms| has started.
* [25.5.2018. 11:09:29] : Performing necessary update check as specified by the deployment.
* [25.5.2018. 11:09:30] : Activation of C:\Users\Vlatka\Desktop\Sindikat.appref-ms| succeeded.
ERROR DETAILS
No errors were detected during this operation.
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
如果您在启动使用 ClickOnce 部署的应用程序时遇到困难,请检查您的 Event Viewer
Application
日志。那里可能会记录一些错误。 This是另一个更具体地解决我的问题的问题,根本原因是我需要生成一个授予完全安全权限的应用程序清单。
停止任务计划程序“\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser”中的任务
如果您在装有 Windows 10 和 .NET Framework 4.8 的全新计算机上进行安装,但它无法启动,您很可能需要安装 Visual Studio 来安装您的应用程序可能需要的任何旧依赖项。
这绝对不是一个完美的解决方案,但至少它有效。