Click-Once deployment is leaving multiple versions (yes, more than 2)
Posted
by Clyde
on Stack Overflow
See other posts from Stack Overflow
or by Clyde
Published on 2010-05-20T12:12:46Z
Indexed on
2010/05/20
16:40 UTC
Read the original article
Hit count: 207
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.
© Stack Overflow or respective owner