Operation is not supported on this platform for Stimulsoft report in .NET Core 6

Stimulsoft Reports.WEB discussion
Post Reply
LonieHaag
Posts: 1
Joined: Thu Apr 24, 2025 1:38 pm

Operation is not supported on this platform for Stimulsoft report in .NET Core 6

Post by LonieHaag »

I'm using C# WPF in .NET Core 6 in Visual Studio 2022
I have added the dll of **StiReport **to my project , but I got error for below 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.
that works on .NET Framework 4.7.2 !
What should I do ?
Lech Kulikowski
Posts: 7332
Joined: Tue Mar 20, 2018 5:34 am

Re: Operation is not supported on this platform for Stimulsoft report in .NET Core 6

Post by Lech Kulikowski »

Hello,

Try to add the Net Core version.

Thank you.
Post Reply