다음을 통해 공유


How to: Automatically Increment the ClickOnce Publish Version

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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.

Note

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 Customizing Development Settings in Visual Studio.

To disable automatically incrementing the Publish Version

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

  2. Click the Publish tab.

  3. In the Publish Version section, clear the Automatically increment revision with each release check box.

See Also

How to: Set the ClickOnce Publish Version
Publishing ClickOnce Applications
How to: Publish a ClickOnce Application using the Publish Wizard