Clickonce App无法从Windows 1803开始 [英] Clickonce App Doesn't start with Windows 1803

查看:63
本文介绍了Clickonce App无法从Windows 1803开始的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Visual Studio 2015 SP3中的Clickonce应用程序,该应用程序发布到网络服务器并且仅在内部使用。从Visual Studio启动时,该程序运行正常。它在没有没有1803更新的Windows机器上运行得很好。但是,一旦计算机更新到1803,该应用程序将不再启动。我得到正在检查更新...窗口,然后什么也没有。在全新安装中,我通常会获得Smartscreen告诉我该程序可能很危险。



我已经从具有1803更新的计算机上创建了Clickonce,但问题仍然存在。



我已断开计算机与网络的连接。该应用程序启动,但随后没有数据库访问权限,它需要数据库。



我在 = https://social.technet.microsoft.com/Forums/zh-CN/7cbd16f5-526e-4b0b-a186-3ebf41b7b349/smartscreen-prompt-does-not-not-show-for-clickonce-app-since-windows- 10-update-1803?forum = win10itprogeneral rel = noreferrer> https://social.technet.microsoft.com/Forums/zh-CN/7cbd16f5-526e-4b0b-a186-3ebf41b7b349/smartscreen-prompt-does-自从Windows-10-update-1803开始不显示clickonce-app-app?forum = win10itprogeneral 。从提到的目录启动应用程序时,我将获得Smartscreen,并且可以告诉它无论如何都可以运行。



如果发布了新版本,则下载新版本并更新程序,但Smartscreen不再可用。



出现,应用程序永不启动。



因此,在安装最新更新和Smartscreen之间的某个地方失败了。其他人是否遇到过这种情况,并知道为什么?

解决方案

是的,今天我也很沮丧地遇到了这种情况。大概是他们将发布另一个补丁的安全更新,对于小企业应用程序的开发人员和用户来说,这是一个很大的痛苦。



而不是禁用Defender或SmartScreen,我选择了将我的部署网站添加到Internet Explorer的受信任的站点中,然后重新设置警告对话框,并像以前一样更新和运行我的应用程序。



考虑到自然,这真的很烦人问题以及解决问题需要花费多长时间,但是与此同时,我今天必须使用IE,这在当今是一种罕见的事件。


I have a Clickonce app from Visual Studio 2015 SP3 that is published to the network server and used in-house only. The program works just fine when launched from Visual Studio. It runs just fine on a Windows machine that does not have the 1803 update. But once a machine updates to 1803, the application no longer starts. I get the "Checking for updates..." window then nothing. On a fresh install, I usually get the Smartscreen telling me the program may be dangerous. It doesn't get that far.

I've created the Clickonce from a computer with the 1803 update and the problem still exists.

I've disconnected the machine from the network. The application starts but then has no database access and it needs the database. It's also written to hide buttons that would use the database to prevent users from trying to do things that require it.

I found a workaround (third paragraph) at https://social.technet.microsoft.com/Forums/en-US/7cbd16f5-526e-4b0b-a186-3ebf41b7b349/smartscreen-prompt-does-not-show-for-clickonce-app-since-windows-10-update-1803?forum=win10itprogeneral. When I start the application from the directory mentioned, I get the Smartscreen and can tell it to run anyway. Every time I click the desktop icon, it works just fine.

If a new release is published, the new release is downloaded and the program updated, but the Smartscreen no longer appears and the application never starts.

So somewhere between installing the latest update and the Smartscreen, this is failing. Anyone else experiencing this and have an idea as to why?

解决方案

Yes, frustratingly I also experienced this today. Presumably a security update that they'll release another patch for given this is quite a pain for developers and users of small business apps.

Rather than disable Defender or SmartScreen I chose to add my deployment website to the Trusted Sites in Internet Explorer and that then re-instated the warning dialog and my app updated and ran as before.

Really annoying given the nature of the issue and how long it took to figure out, but at the same time I had to use IE today, which is a rare event nowadays.

这篇关于Clickonce App无法从Windows 1803开始的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆