Publishing RDLC files

前端 未结 4 549
夕颜
夕颜 2020-12-08 05:00

I have a few RDLC files in my WPF application. When I publish the project, the report files don\'t get published, and when I try to access them with the client I get an erro

4条回答
  •  温柔的废话
    2020-12-08 05:16

    Sorry guys this has nothing to do with "Copy Always" or "Copy if Newer". In fact I set it to "Never Copy". This issue is resolved by changing the Build Action from "Embedded Resource" to "Content". Then when you build and publish RLDC files will get copied to the right place.

提交回复
热议问题