I\'ve got a ClickOnce application that is leaving all old versions on my disk. It\'s an internal corporate application that gets frequent updates, so this is a disaster for
I think I've actually finally figured this one out. For some unknown (and unacceptable, frankly) reason, the cleanup of older versions will not happen if the newer version is running -- it just fails silently.
The cleanup attempts to run as the old version exits, but because I restarted the app, the new version is already starting, blocking the cleanup.
Also, note that the "scavenger service" mentioned in other answers appears to be a total fabrication. I've found no documentation of any such service, nor any evidence of it running. The cleanup appears to happen inline as part of the clickonce update process.