I'm trying to start a unit test in Azure Pipeline which opens an external file (myReport.rdl). The goal is to check, if the DataSets passed to the LocalReport class are harmoniously with report definition. Unfortunately I'm getting following error:
"d:\a\1\s\TestResults\Deploy_VssAdministrator 2019-08-04 06_29_01\Out\Reports\myReport.rdl".
How to copy the .rdl file to the right place? Is there any other solution to that?
Code
var localReport = new LocalReport(); // Microsoft.Reporting.WinForms
localReport.ReportPath = ReportPath; // Reports/myReport.rdl
...
localReport.Render("PDF", DeviceInfo, out _, out _, out _, out _, out var warnings);