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

Stimulsoft Reports.NET discussion
Post Reply
brawnyteeny
Posts: 1
Joined: Mon Dec 16, 2024 8:46 am

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

Post 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!
Lech Kulikowski
Posts: 7291
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply