RDLC report stop working after change Visual Studio 2015 to Visual Studio 2017

后端 未结 2 733
不思量自难忘°
不思量自难忘° 2021-02-07 15:33

I have an AspNet MVC project in Visual Studio 2017 that was previously developed in Visual Studio 2015. This project contains many rdlc files that were working

2条回答
  •  臣服心动
    2021-02-07 16:06

    I had the same problem and I solved it uninstalling the nuget packages Microsoft.ReportViewer.Runtime.Common and Microsoft.ReportViewer.Runtime.WebForms and installing the package Microsoft.ReportingServices.ReportViewerControl.WebForms.140.340.80. I would like to highlight that I had to add a reference to System.Windows.Forms because there is a dependency in the class ReportDataSource that I use to render my reports

提交回复
热议问题