We recommend using Visual Studio 2017

How to: Set the ClickOnce Publish Version


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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.

System_CAPS_ICON_note.jpg Note

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 How to: Automatically Increment the ClickOnce Publish Version.

To change the Publish Version

  1. With a project selected in Solution Explorer, on the Project menu click Properties.

  2. Click the Publish tab.

  3. In Publish Version field, increment the Major, Minor, Build, or Revision version numbers.

    System_CAPS_ICON_note.jpg Note

    You should never decrement a version number; doing so could cause unpredictable update behavior.

Choosing a ClickOnce Update Strategy
How to: Automatically Increment the ClickOnce Publish Version
Publishing ClickOnce Applications
How to: Publish a ClickOnce Application using the Publish Wizard