Click the "Just update version duplication problem" button.

I am having a weird problem with applications deployed using Click-Once. For example, an application called "MyApplication" appears in the start menu as "MyApplication" after the initial deployment. After several updates, a new version of "MyApplication-1" is created in the start menu, sometimes it goes in the versions "- 2" and "- 3" and that's all ... And all these versions coexist very peacefully, without violating each other at all !!! And I can remove any of these versions from the control panel without affecting the other. And I tried this from VS2005 n VS2010 applications.

When I receive my application for updating, the publication version changes regularly (as it happens by default), and sometimes I change the assembly version if the code change is the main one. Other than this, I do not change any default settings. I tried to recreate this error by changing the build version and changing the code, but I was never able to recreate the error in a test environment. But this still happens from time to time with my live applications.

I wonder if anyone came across another similar question. We would be so grateful if anyone could suggest a solution for this. It bothered me for so long.

Thank you very much mary

+4
source share
1 answer

We faced the same situation. This happens when you change the assembly name, in this case it considers the clickonce application as a new application, therefore, several instances of the same application with different names. If you want to check if this is the same situation you encountered, check the installation folder on the client computer, you will have several instances of your application with a different folder.

0
source

Source: https://habr.com/ru/post/1340035/


All Articles