Thank you for your response.
I tried creating a report inside Visual Studio 2017. I have .Net 4.6.1 class library with my report. This class references Telerik Reporting 184.108.40.2066. I was able to create a report with an ObjectDataSource that talks to a .Net Standard 2.0 class library as you suggested. When I click on the preview tab I get a "Could not load type" exception with the name of the obect in my .Net Standard 2.0 class library.
I have the following on the App.config for said class library.
I tried rendering the report on a Asp.Net Core 2.1 website that has .net 461 as the target framework <TargetFramework>net461</TargetFramework>
When I try to render the report (as a PDF) I get the same "Could not load type" exception with the name of the obect in my .Net Standard 2.0 class library. I tried adding an app.config
file to the web application with the <Telerik.Reporting> <assemblyReferences>
I'm directly rendering the PDF with a code similar to this one:
var telerikReport = new ReportObjects.Payrolls.PayrollInstanceReport();
ReportProcessor reportProcessor = new ReportProcessor();
Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
instanceReportSource.ReportDocument = telerikReport;
RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null);
Is this scenario not supported at the moment under asp.net core, or am I missing something?