Publishing RDLC files

前端 未结 4 559
夕颜
夕颜 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:26

    instead of using .ReportPath

    1. **used the following code:

    reportViewer1.LocalReport.ReportEmbeddedResource="[Project
    Name].[FolderName if Exist].[ReportName].rdlc";
    
    1. Then rebuild your deployment Project.

提交回复
热议问题