Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Deployment Provider url in ClickOnce's manifest file?

(Disclaimer: I use the Japanese version of Visual Studio 2005, and while I'm literally translating the menu names of my Visual Studio into English, it's likely to be different than how they're actually on the original edition)

Anyways, I'm trying to publish a ClickOnce app on the server, but the generated manifest file (.application) has a value in the deploymentProvider codebase attribute that I can't change at all.

<deploymentProvider codebase="http://foo.jp/foo/ClickOnce/fooApp.application" />

I expected the value would be changed by putting a path into the box where we could specify the location path (I mean, Solution Explore -> Property -> Publish tub -> Publish Location), but do I overlook something else?

Of course, I can manually change it on my NotePad, but I don't think it's the normal behavior!

like image 821
Quv Avatar asked Jul 23 '12 09:07

Quv


People also ask

What does a deployment manifest contain?

The deployment manifest file identifies a ClickOnce application deployment, including the current version and other deployment settings. It references the application manifest, which describes the current version of the application and all of the files contained within the deployment.


2 Answers

I'm using VS 2017.

  • Go to Project Properties

  • Select the Publish page

  • Select the Updates... button

  • Change the Update Location at the bottom of the page to match your new location

like image 192
EllieK Avatar answered Oct 22 '22 19:10

EllieK


enter image description here

Navigate to the Project Properties (dbl-click on 'Properties' in the Solution Explorer).

Go to 'Publish' tab. Edit Configuration.

(see screenshot)

like image 37
Glenn Ferrie Avatar answered Oct 22 '22 20:10

Glenn Ferrie