ClickOnce deployment: Cleaning up older versions in the server?
How can I deploy a ClickOnce application from "Publish" in Visual Studio 2008 and only keep the latest publish in the "A开发者_运维问答pplication Files" ?
I tend to do many "Publish"'ings.. and after a while my distribution server is full of old versions.
I believe you don't need to keep the old versions available if you don't mind not allowing people to upgrade incrementally.
ie. Delete the old versions Application Files manually. There isn't an automatic option.
You'll have to do it manually, as others have said.
If you're talking about the older versions that remain the in \Application Files\ directory, I think you have to clean those up manually.
精彩评论