简体   繁体   English

Clickonce应用程序在Windows XP中下载旧版本

[英]Clickonce application downloading old version in windows xp

I published my winform application in my server using clickonce. 我使用clickonce在服务器上发布了winform应用程序。 after that i downloaded and installed that in five windows 7 systems. 之后,我下载并在五个Windows 7系统中安装了它。 And also tried in one windows xp system. 并且还尝试在一个Windows XP系统中使用。 First it installed correctly. 首先,它正确安装。 After publishing the updated version its not automatically updating in xp but it got updated in win7. 发布更新的版本后,它不会自动在XP中更新,但是在Win7中已更新。 in browser its showing the older version number in xp.but showing the correct version in win7. 在浏览器中,它在xp中显示较旧的版本号,但在win7中显示正确的版本。 we have tried with following commands which works first and but not again. 我们已经尝试使用以下命令进行操作,这些命令将首先生效,但不再有效。

mage -cc

Is there any solution for this problem? 这个问题有什么解决办法吗? please help... 请帮忙...

I would try enabling enhanced logging for ClickOnce to see what's going on on the XP machine. 我会尝试为ClickOnce启用增强的日志记录功能,以查看XP机器上正在发生的情况。 Also, are you saying you are running "mage -cc" and reinstalling the application, and it still installs the old version? 另外,您是说您正在运行“ mage -cc”并重新安装该应用程序,但它仍会安装旧版本吗? Have you tried deleting the \\apps\\2.0 folder under the user's cache? 您是否尝试过删除用户缓存下的\\ apps \\ 2.0文件夹? If you do that and reinstall, and you still get the old version, then double-check the version number in the deployment manifest (.application file) at the installation link. 如果您执行此操作并重新安装,但仍然获得旧版本,请在安装链接的安装清单(.application文件)中仔细检查版本号。 If that is right, then you must be having some kind of caching problem accessing the deployment. 如果是正确的,那么你就必须是具有某种缓存的问题访问了部署。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM