我的ClickOnce应用程序目前版本为2.0.0.12。我更新了该应用程序,将发布和程序集版本更改为2.0.0.13。当我在客户端桌面上启动应用程序时,它会检查更新,但不认识可用的更新并正常运行。
我启动了Fidler,并查看了请求和清单,它仍然引用2.0.0.12版本。
在服务器上,我完全删除了2.0.0.12版本,关闭了服务器上的缓存并卸载了桌面应用程序。
当我启动安装程序时,它无法下载文件,因为它找不到2.0.0.12版本文件夹。我在服务器上更新了Application.htm、Setup.exe和.application文件,并反映出正确的2.0.0.13版本。
我的问题是:ClickOnce应用程序从哪里获取对先前版本的引用?
这是错误日志:
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.17020
System.Deployment.dll : 4.0.30319.17020 built by: FXM3REL
clr.dll : 4.0.30319.17020 built by: FXM3REL
dfdll.dll : 4.0.30319.17020 built by: FXM3REL
dfshim.dll : 4.0.31106.0 (Main.031106-0000)
SOURCES
Deployment url : {URL_REMOVED}\AlphaManager.application
Server : Microsoft-IIS/7.0
X-Powered-By : ASP.NET
Deployment Provider url : {URL_REMOVED}\/install/AlphaManager.application
Application url : {URL_REMOVED}\/install/Application%20Files/AlphaManager_2_0_0_12/AlphaManager.exe.manifest
Server : Microsoft-IIS/7.0
X-Powered-By : ASP.NET
IDENTITIES
Deployment Identity : AlphaManager.application, Version=2.0.0.12, Culture=neutral, PublicKeyToken=4bf6f9c465057aee, processorArchitecture=x86
Application Identity : AlphaManager.exe, Version=2.0.0.12, Culture=neutral, PublicKeyToken=4bf6f9c465057aee, processorArchitecture=x86, type=win32
APPLICATION SUMMARY
* Installable application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of {URL_REMOVED}\/install/AlphaManager.application resulted in exception. Following failure messages were detected:
+ Downloading {URL_REMOVED}\/install/Application Files/AlphaManager_2_0_0_12/Microsoft.mshtml.dll.deploy did not succeed.
+ The remote server returned an error: (404) Not Found.