Matapolo
Matapolo

Reputation: 163

prevent automatic Update in ClickOnce Application

I'm develop my update functions with the class ApplicationDeployment to regulate itself. In the project settings -> Publish-> Application Updates I've given my update path and disables all check boxes. Now when I start my application is always installed an update, even if the server is on an older version. To prevent that automatically shut updates are installed, I should turn off according to Microsoft, the subscription updates in the deployment manifest. I have do it but the automatic updates came everytime when I start my App. How can I prevent this automatic Update?

Upvotes: 1

Views: 1689

Answers (2)

R.Kaka
R.Kaka

Reputation: 167

I sure you click on .application file to run application.

Upvotes: 0

Rachel
Rachel

Reputation: 132618

I believe the application only updates if the Version Number changes, so uncheck the box to automatically update the version number on each publish

  • Right-Click on Project and go into Properties
  • Click the Publish Tab
  • Uncheck the "Automatically increment revision with each publish" checkbox

Upvotes: 1

Related Questions