Publish Page, Project Designer
The Publish page of the Project Designer is used to configure properties for ClickOnce deployment.
To access the Publish page, select a project node in Solution Explorer, then on the Project menu, click Properties. When the Project Designer appears, click the Publish tab.
Some of the same ClickOnce properties can also be set in the Publish Wizard, available on the Build menu.
- Publishing Location
Specifies the location where the application is published. Can be a drive path (C:\deploy\myapplication), a file share (\\server\myapplication), an FTP server (ftp:// ftp.microsoft.com/myapplication), or a Web site (http://www.microsoft.com/myapplication). Note that text must be present in the Publishing Location edit box in order for the Browse (...) button to work.
- Installation URL
Optional. Specifies a Web site where users go to install the application. Only necessary when different from the Publishing Location—for example, when the application is published to a staging server.
- Install Mode and Settings
Determines whether the application is run directly from the Publishing Location (The application is available online only is selected) or is installed and added to the Start menu and the Add or Remove Programs item in Control Panel (The application is available offline as well is selected).
- Application Files
Opens the, which is used to specify how and where individual files are installed.
Opens the, which is used to specify prerequisite components, such as the common language runtime, to be installed along with the application.
Opens the, which is used to specify update behavior for the application. Not available when The application is available online only is selected.
Opens the, which is used to specify additional advanced publishing options.
- Publish Version
Sets the publish version number for the application; when the version number is changed, the application is published as an update. Each portion of the publish version (Major, Minor, Build, Revision) can have a maximum value of 65355 (), the maximum allowed by .
- Automatically increment revision with each publish
Optional. When checked (the default), the Revision portion of the publish version number is incremented by one each time the application is published, causing the application to be published as an update.
- Publish Wizard
Opens the. Equivalent to the Publish command on the Build menu.
- Publish Now
Publishes the application using the current settings. Equivalent to the Finish button in the Publish Wizard.