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!