Posted 26 May 2025, 11:39 am EST
Hello,
I’m trying to migrate our .NET Framework WPF app to .NET 8. We’re targeting AR version 18.
The app is a custom built designer for our end users. We have a professional license on the build server.
licenses.licx file looks like this:
GrapeCity.ActiveReports.SectionReport, MESCIUS.ActiveReports
GrapeCity.ActiveReports.PageReport, MESCIUS.ActiveReports
GrapeCity.ActiveReports.Viewer.Win.Viewer, MESCIUS.ActiveReports.Viewer.Win
GrapeCity.ActiveReports.Viewer.Wpf.Viewer, MESCIUS.ActiveReports.Viewer.Wpf
GrapeCity.ActiveReports.Design.Designer, MESCIUS.ActiveReports.Design.Win
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, MESCIUS.ActiveReports.Export.Pdf
However, after changing app to .NET 8 I get an error during build:
Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context
I tried removing license file and adding new report. I also tried “Tools” → “Convert to Active Reports 18” option. None of this helped though.
Event an empty WPF .NET 8 project generates this error.
Has anyone experienced similar issues?
Thanks in advance.