Unable to include empty directories with ClickOnce deployment

S

siuheihk

Hi all,

I am trying to create empty directories at the install time, before the
user runs the actual application. How do you do that in ClickOnce?

I tried to look for the "Copy Local" property, but it's NA for
directories. I also tried to look under Project -> Properties ->
Publish -> Application Files, but it would not let me to specify the
"Publish Status" for directories.

I can get around the problem by adding a "Readme" file in each of the
directories, but is there a way to do it besides adding the Readme's?

Thanks for the help in advance,
Kenny
 
R

Rob R. Ainscough

You could have your application just create the dir since it is empty
anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top