5
votes

I'm having a problem with one of my projects where I am not able to specify my deployment url for Clickonce in the .application file, here is the expected piece of Xml

 <deployment install="true" mapFileExtensions="true" co.v1:createDesktopShortcut="true">
    <deploymentProvider codebase="http://www.mycompany.co.uk/ClickOnce/myapplication/myapplication.application" />
  </deployment>

Here is my other project where I have only the following

  <deployment install="true" mapFileExtensions="true" co.v1:createDesktopShortcut="true" />

In my second project I want to be able to specify my url in the .application file but I have tried many of the available options and have not been able to find out what exactly I need to do to get it working. I am using Visual Studio 2013

Options under the properties-publish-options tabs are identical for Description, Deployment, Manifests

One noted difference is that my application type is WPF application for my working project, and my other project is of type Windows Application, and they look slightly different on the application tab, that seems to be the biggest difference between them, screenshot showing details below.

enter image description here

1
I have tried many of the available options... that's a very poor description. How are we meant to know what you have and have not tried? Please don't be lazy when asking questions, because then the answer authors would have to go through all of the possible options instead and it's not our job... it's yours. - Sheridan
Editing with list of things I have tried...will update sorry - Oliver
Ok added what I have compared between the two projects now. - Oliver
On your Publish tab, do you have the Publishing Folder Location field? That is where you're supposed to enter your published folder path. - Sheridan
It's located on Publish tab! - Hamed Zakery Miab

1 Answers

0
votes

In the properties of your project , there is a tab called "Publish":

enter image description here