lkosson / reportviewercore

Recompilation of Microsoft.ReportViewer for .NET Core 3.1+
427 stars 123 forks source link

Error on instance create #155

Closed joe-bernardes closed 1 year ago

joe-bernardes commented 1 year ago

Hi, I have a error when instance create .NET Core 6.0 LocalReport report = new LocalReport()

(System.MethodAccessException: 'Attempt by method 'Microsoft.Reporting.NETCore.LocalReport..ctor()' to access method 'Microsoft.ReportingServices.StandalonePreviewStore..ctor()' failed.')

Can you help me, please. Tks.

lkosson commented 1 year ago

Check if you don't have original Microsoft Report Viewer packages referenced in your project.