Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

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[^]
 
Share this answer
 
Did you try using the Publish wizard? There should be an "Where do you want to publish the application?" when you run this wizard.
 
Share this answer
 
Comments
[no name] 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900