Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to include custom data files in ClickOnce deployment?

Is it possible to include custom data files in ClickOnce deployment?

I couldn't find any option for this (Visual Studio 2005 and 2010). The Application Files dialog from the publish tab just doesn't show custom files.

like image 908
Zenya Avatar asked Mar 10 '10 05:03

Zenya


2 Answers

It actually possible, at least as of Visual Studio 2012 (most likely Visual Studio 2010 as well). The key is to set the build action on the file to "Content".

More information is in Custom Folders in ClickOnce.

like image 155
aL3891 Avatar answered Sep 30 '22 20:09

aL3891


It seems that it is impossible. From ClickOnce Deployment Overview in ClickOnce Deployment Overview (MSDN):

Installation of shared files -- No

Also the article ClickOnce deployment or not? was very useful.

like image 32
Zenya Avatar answered Sep 30 '22 19:09

Zenya