How to include user data files in a ClickOnce deployment?

Can I include user data files in a ClickOnce deployment?

I could not find any options for this (Visual Studio 2005 and 2010). The Application Files dialog box on the publish tab simply does not display user files.

+6
visual-studio deployment clickonce
source share
2 answers

This seems to be impossible. ClickOnce Deployment Overview in ClickOnce Deployment Overview (MSDN):

Install Shared Files - No

Was the ClickOnce deployment article also very helpful or not? .

+3
source share

In fact, this is possible, at least in Visual Studio 2012 (most likely Visual Studio 2010). The key is to set the assembly action in the file to "Content".

For more information, see Custom folders in ClickOnce .

+5
source share

All Articles