Why doesn't ClickOnce in Visual Studio deploy content files from dependent assemblies?

后端 未结 5 1737
一个人的身影
一个人的身影 2020-11-30 08:58

I have a smart client application that is deployed via click once. The problem is that i have content files in dependent assemblies that just don\'t show up in the publishe

5条回答
  •  鱼传尺愫
    2020-11-30 09:22

    I think my answer from this post answers your question.

    Summary
    Either...
    Add your content files to your project using the "Add as link" feature.
    Or...
    Create a post-build event to copy your content files to the main output folder.

提交回复
热议问题