[Solved] how to copy a folder contained in my project to anothe location when i am installing project


I have specified the Build action on my .rdlc file as Embedded Resource and then it is referenced like this in the code:

this.reportViewerScraps.LocalReport.ReportEmbeddedResource = "Backa_Artiklar_2.ScrapReportDocument.rdlc";

EDIT: Added info according to askers comment

I have the rdlc file here in the Solution Explorer:

rdlc in Solution Explorer

Change your line of code to:

reportViewer1.LocalReport.ReportEmbeddedResource = "<namespace>.Manufacturer.rdlc";

Remember to change <namespace> to your application namespace

0

solved how to copy a folder contained in my project to anothe location when i am installing project