Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ClickOnce version not updating

My ClickOnce application is currently on version 2.0.0.12. I updated the application, changed the published and assembly version # to 2.0.0.13. When I start the application on a client desktop it checks for an update but does not recognize an update is available and runs as normal.

I launch fidler and watched the request and the manifest it is pulling back still has the 2.0.0.12 version reference.

On the server I deleted the 2.0.0.12 version all together, turned off caching on the server and uninstalled the app from the desktop.

When I launch the installer it fails downloading files because it can't find the 2.0.0.12 version folder. I updated the Application.htm, Setup.exe and .application files on the server and they reflect the correct 2.0.0.13 version.

My question is: Where the heck is the ClickOnce app getting the reference to the previous version from?

Here is the error log:

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.

like image 899
Scott Smith Avatar asked May 24 '12 13:05

Scott Smith


People also ask

Is ClickOnce still supported?

ClickOnce and DirectInvoke in Microsoft Edge | Microsoft Learn. This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Where are ClickOnce settings stored?

config file is stored in the user's Documents and Settings folder. In a ClickOnce application, <app>.exe. config lives in the application directory inside of the ClickOnce application cache, and user. config lives in the ClickOnce data directory for that application.


1 Answers

Under you project properties, click the Updates button....

enter image description here

And then make sure you've set the correct minimum required version. This number does NOT automatically update like your other publish version number:

enter image description here

like image 197
Brad Rem Avatar answered Sep 22 '22 07:09

Brad Rem