|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
How to: Set the ClickOnce Publish Version
The ClickOnce Publish Version property determines whether or not the application that you are publishing will be treated as an update. Each time version is incremented, the application will be published as an update.
The Publish Version property can be set on the Publish page of the Project Designer.
There is a project option that will automatically increment the Publish Version property each time the application is published; this option is enabled by default. For more information, see.
To change the Publish Version
With a project selected in Solution Explorer, on the Project menu click Properties.
Click the Publish tab.
In Publish Version field, increment the Major, Minor, Build, or Revision version numbers.
You should never decrement a version number; doing so could cause unpredictable update behavior.