clickonce

Can ClickOnce be configured to delete off old published directories?

╄→гoц情女王★ 提交于 2021-01-20 22:12:37
问题 Can ClickOnce be configured to delete off old published directories? Or Has anyone written some code that will delete off these publish directories (maybe keeping the last 10)? Currently, every time a ClickOnce Publish is done a new directory is being created on the IIS Server. This NEW directory contains a copy of the whole application, which is downloaded. The old directories do not seem to be used anymore and is just taking up a lot of space. Here is a sample of the directory names being

VB.net application is keeping previous versions

試著忘記壹切 提交于 2020-07-23 08:24:23
问题 I have a visual basic project that is being published and increments the version number each time. When I install a new version, it opens but as soon as the application restarts, it seems to revert back to the previous version and I cannot work out why. 回答1: Try to update a minimum version required when you publish the application go to application proprties -> publish -> Updates...: If you want to do this automatically and force the user to work on latest version only, you can update the