I've got a click once 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 rapidly inflating our backup size.
According to the docs and other SO questions, it is supposed to only leave the current and previous versions on disk. However, each time I deploy the project and upgrade a client, I get another copy of all exe/dll/data files. I'm making no changes whatsoever to the application, just pushing deploy again in Visual Studio.
Any ideas?
Updates:
The problem seems to happen on both Windows 7 and XP. 64 bit windows and 32.
I've done a diff of the folders where the version is installed and the following files are different:
MyApp.exe.manifest MyApp.exe.cdf-ms MyDll1.cdf-ms MyDll2.cdf-ms
No actual executable files are different, nor the MyApp.manifest, MyDll1.manifest, etc.
MORE Updates
How about an alternative. Does anyone know if it's safe to look for other folders containing my application at runtime and delete them? Is that going to break anything?
Does anyone know anything about click-once deployment? Or is it just a mysterious black box to everyone?