|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: Automatically Increment the ClickOnce Publish Version
When publishing a ClickOnce application, changing the Publish Version property causes the application to be published as an update. By default, Visual Studio automatically increments the Revision number of the Publish Version each time you publish the application.
You can disable this behavior on the Publish page of the Project Designer.
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see.
To disable automatically incrementing the Publish Version
With a project selected in Solution Explorer, on the Project menu, click Properties.
Click the Publish tab.
In the Publish Version section, clear the Automatically increment revision with each release check box.