Nestor
Nestor

Reputation: 13990

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 "Application Files" ?

I tend to do many "Publish"'ings.. and after a while my distribution server is full of old versions.

Upvotes: 1

Views: 780

Answers (3)

Philip Wallace
Philip Wallace

Reputation: 8035

You'll have to do it manually, as others have said.

Upvotes: 2

brendan
brendan

Reputation: 30006

If you're talking about the older versions that remain the in \Application Files\ directory, I think you have to clean those up manually.

Upvotes: 0

Matthew Scharley
Matthew Scharley

Reputation: 132524

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.

Upvotes: 2

Related Questions