How to include files from another project when publishing a solution using clickonce

While deploying the solution, I found that clickonce is not loading some files from the project into the solution. I tried to find the files on the "Application Files" tab in the "Publish", but it seems that it only includes files from the client project, and not other projects. How can I fix this problem? It should be something like the ability to add file dependencies to a project. Currently, files are installed as "Copy" if they are newer and "Content".

+4
source share
1 answer

It is solved as follows: files are added that are not in the client application, as Links to actual files in a separate folder with the name datafiles. ClickOnce seems to interpret this folder in such a way that it adds copies of items related to the output.

+3
source

Source: https://habr.com/ru/post/1609186/


All Articles