The Stimulsoft report in.NET Core 6 does not work on this platform
Posted: Mon Dec 16, 2024 8:57 am
I'm using C# WPF with.NET Core 6 and Visual Studio 2022.
I added StiReport.dll to my project, but I received an error with this code:
System.PlatformNotSupportedException: Operation is not supported on this platform.
It works fine with.NET Framework 4.7.2!
I added StiReport.dll to my project, but I received an error with this code:
Code: Select all
public MainWindow()
{
InitializeComponent();
var report = new StiReport();
var pathreport = @"C:\Users\Administrator\source\repos\Gozaresh\Gozaresh\BUGETRP.mrt";
report.Compile(); //→ Error : System.PlatformNotSupportedException: 'Operation is not supported on this platform.'
report.Render();
report.Show();
}
It works fine with.NET Framework 4.7.2!