Click here to Skip to main content
12,698,048 members (23,766 online)
Rate this:
Please Sign up or sign in to vote.
See more: ClickOnce
Is there a way to set a custom publish path for ClickOnce? The hosting i have doesn't support spaces in paths and the "Application Files" folder where the files get published has a space. If i just change the codebase path in the .application file, the application won't even get past the "checking for updates" part when it loads.
Posted 3-Apr-11 7:37am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Never tried it but when you publish the application, the "Application Files" folder is defined in the deployment manifest (the file SomeApplication.application), so you can change it manually. The downside is that it's generated again every time you publish.

So perhaps a better way to do this would be to make the publish manually using Mage. For details, see:[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Did you try using the Publish wizard? There should be an "Where do you want to publish the application?" when you run this wizard.
Dave_Lowe 3-Apr-11 12:48pm
Ya, you can set the root folder where the files go. In that folder it puts the <app name>.Application, index.html, etc... files. The actually application data gets put into a sub folder called "Application Files".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 3 Apr 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100