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

懵懂的女人 提交于 2019-12-01 20:51:06

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/32808838/how-to-include-files-from-another-project-while-publishing-a-solution-with-click

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!