Click here to Skip to main content
Sign Up to vote bad
good
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:37


2 solutions

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  
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 - 3 Apr '11 - 12:48
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
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 353
1 OriginalGriff 345
2 Arun Vasu 315
3 Maciej Los 208
4 Aarti Meswania 180
0 Sergey Alexandrovich Kryukov 9,680
1 OriginalGriff 7,539
2 CPallini 4,018
3 Rohan Leuva 3,362
4 Maciej Los 2,951


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 3 Apr 2011
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid