Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to include files from another project while publishing a solution with clickonce

Tags:

.net

clickonce

While deploying a solution I found that clickonce doesn't upload some files from a project in a solution. I tried to find the files in the application files tab in "Publish" but it seems that it only includes the files from the client project and not other projects. How can i fix this issue? It should be something like an ability to add file dependancies to a project. The files are currently set as Copy if newer and Content.

like image 275
Christo S. Christov Avatar asked Sep 27 '15 14:09

Christo S. Christov


1 Answers

Solved by the following manner : added the files which were missing to the client application as Links to the actual files in a separate folder called datafiles. ClickOnce seems to interpret this folder in such a way that it adds copies of the items which are linked to the output.

like image 179
Christo S. Christov Avatar answered Nov 15 '22 07:11

Christo S. Christov