Use clickonce to deploy the winform application. Both installation and automatic updates are extremely convenient, but sometimes there are headaches
1. Note that after each deployment is complete
Setup.exe does not need to be overwritten. You only need to copy the latest release package in application. File and overwrite the * Soft. Application file.
2. The deployment is inconsistent with the Application ID. For example, do not change the release options. Otherwise, the customer will encounter all upgrade errors,
When preparing to officially release the product, you must be clear about it. Don't think about it after it is released. It will be too late. This is a bloody lesson!
3. the application cannot be installed because the application with the same identity has been installed. To install this application, modify the configuration version of this file or uninstall the existing application.
This problem has been plagued for a whole day. Finally, I found that none of the previous versions have the lowest version. Here, the result is a tragedy.
So it must be consistent with the first release. Do not make any changes.
Here is only your own problem and solution. If there is any error, please point out ...... Thank you!
Difficulties in clickonce deployment: inconsistency between deployment and application identification during update. To install this application, modify the configuration version of this file or uninstall the existing application.