I have a clickOnce application which is deployed as "Start the Application from the Web or a Network Share". So, fist time a user try to start the application, it will be downloaded and installed to an application cache on the local computer. My problem is that every time I do a release, I update the new files to the network share. But whenever user try to hit the URL, clickOnce will start the application from the cache instead of downloading the new version. I can go for two solutions:
- Every time user closes the application on local system, cache should be deleted.
- If there is a way to get notification of new update even if application is deployed as "Start the Application from the Web or a Network Share" and next time it will delete the cache to download new files.
- Any other solution apart from above two will be helpful.