Click here to Skip to main content
Rate this: bad
good
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 6:37am
Rate this: bad
good
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: http://msdn.microsoft.com/en-us/library/xc3tc5xx.aspx[^]
  Permalink  
Rate this: bad
good
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.
  Permalink  
Comments
Dave_Lowe at 3-Apr-11 12:48pm
   
Ya, you can set the root folder where the files go. In that folder it puts the .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
0 Sergey Alexandrovich Kryukov 369
1 _Amy 230
2 OriginalGriff 220
3 Peter Leow 205
4 Andreas Gieriet 180
0 OriginalGriff 7,540
1 Sergey Alexandrovich Kryukov 6,412
2 Maciej Los 3,849
3 Peter Leow 3,653
4 CHill60 2,702


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 3 Apr 2011
Copyright © CodeProject, 1999-2014
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