更新 ClickOnce 应用程序
我有一个 ClickOnce Windows 窗体应用程序。今天我发布了一个新版本。
该应用程序也可以离线使用。
在“更新”的“发布”菜单中,我设置:
应用程序应检查更新:已检查
应用程序启动之前
并且我已为此应用程序指定了所需的最低版本,等于新版本 (1.2.0.5)。
当用户打开包含更新的页面时,他必须刷新页面才能看到版本是 1.2.0.5(一秒钟前,他看到版本是 1.2.0.4)。
当他单击安装并下载安装程序并双击他的计算机时,旧版本就会运行。
他卸载了旧版本,但这没有帮助。
I've got a ClickOnce Windows Forms application. Today I've published a new version.
The application is available offline as well.
In the Publish menu in Updates, I set:
The application should check for updates: CHECKED
Before application starts
And I've specified a minimum required version for this application, equal to the new version (1.2.0.5).
When the user opens the page with the update he must refresh the page to see that the version is 1.2.0.5 (a second ago, he was seeing that it was 1.2.0.4).
When he clicks install and download setup and double clicks at his computer, the old version runs.
He unistalls old version, but it doesn't help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查服务器上部署文件夹顶部文件夹中的部署清单,看看它实际指向的版本。这是.application 文件。可能由于某种原因没有更新。该文件定义用户在安装应用程序或获取更新时获得的版本。
Check the deployment manifest in the top folder of the deployment folders on the server and see what version it is actually pointing to. This is the .application file. It could be that for some reason it didn't get updated. This file defines which version the user gets when he installs the application or picks up an update.
您的 ClickOnce 更新配置似乎有问题。
查看此处是否有帮助。
查看此处并再次检查您是否已正确设置所有内容。
选择 ClickOnce 更新策略
如何:管理 ClickOnce 应用程序的更新
Something seems to be wrong in your ClickOnce updates configurations.
Look at here whether it helpful at all.
Look at here and check again you have set everything correctly.
Choosing a ClickOnce Update Strategy
How to: Manage Updates for a ClickOnce Application