Page 1 of 1

The Stimulsoft report in.NET Core 6 does not work on this platform

Posted: Mon Dec 16, 2024 8:57 am
by brawnyteeny
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:

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();
}
System.PlatformNotSupportedException: Operation is not supported on this platform.

It works fine with.NET Framework 4.7.2!

Re: The Stimulsoft report in.NET Core 6 does not work on this platform

Posted: Tue Dec 17, 2024 8:44 pm
by Lech Kulikowski
Hello,

What version are you use?
Also, please check the following samples:
https://github.com/stimulsoft/Samples-Reports.WPF

Thank you.