How to: Specify a Publishing Location
When publishing a ClickOnce application, the Publish Location property specifies the location where the application files and manifest will be placed. This can be a URL for a Web server, a file path, or the path to an FTP server.
The Publish Location property can be set on the Publish page of the Project Designer.
Note |
|---|
| The Publish Location can also be set using the Publish Wizard. For more information, see How to: Publish a ClickOnce Application. |
To specify a publishing location
-
With a project selected in Solution Explorer, on the Project menu, click Properties.
-
Click the Publish tab.
-
In the Publish Location field, enter the publishing location using one of the following formats:
-
To publish to a Web server, enter the URL using the format http://www.microsoft.com/ApplicationName.
-
To publish to a file share or disk path, enter the path using either a UNC path (\\Server\ApplicationName) or a file path (C:\Deploy\ApplicationName).
-
To publish to an FTP server, enter the path using the format ftp://ftp.microsoft.com/ApplicationName.
Note that text must be present in the Publishing Location edit box in order for the Browse (...) button to work.
-
Note