Page 1 of 1

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

Posted: Thu Apr 24, 2025 1:44 pm
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 ?

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

Posted: Thu Apr 24, 2025 8:02 pm
by Lech Kulikowski
Hello,

Try to add the Net Core version.

Thank you.