How to: Specify a Publishing Location

When you publish an application by using ClickOnce, the Publish Location property specifies the location where the application files and manifest are put. This can be a URL for a Web server, a file path, or the path to an FTP server.

You can specify the Publish Location property on the Publish page of the Project Designer, or by using the Publish Wizard. For more information, see How to: Publish a ClickOnce Application.

Note

When you install more than one version of an application by using ClickOnce, the installation moves earlier versions of the application into a folder named Archive, in the publish location that you specify. Archiving earlier versions in this manner keeps the installation directory clear of folders from the earlier version.

To specify a publishing location

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

  2. Click the Publish tab.

  3. In the Publish Location field, enter the publishing location by using one of the following formats:

    Note that text must be present in the Publishing Location box in order for the Browse (...) button to work.

See Also

Tasks

How to: Publish a ClickOnce Application

Concepts

ClickOnce Deployment Overview

Other Resources

Publishing ClickOnce Applications