Christo S. Christov
Christo S. Christov

Reputation: 2309

How to include files from another project while publishing a solution with 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.

Upvotes: 7

Views: 3015

Answers (1)

Christo S. Christov
Christo S. Christov

Reputation: 2309

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.

Upvotes: 8

Related Questions