VS2019添加ReportViewer组件后,缺少Microsoft.ReportViewer.WebForms.dll
这该算IDE配置问题吧,但我找不到合适的板块,只能在这里问了。
新装了VS2019,在扩展里搜索安装了“适用于Visual Studio的Microsoft Rdlc 报表设计器”。然后打开原来的winform项目(vs2015),发现没有reportview.winforms的引用。
reportviewer组件应该有4个文件,我检查了安装位置,发现只有3个,缺少Microsoft.ReportViewer.Winforms.dll。
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin
Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.ProcessingObjectModel.dll
Microsoft.ReportViewer.WebForms.dll
我删除扩展再重新安装,试了几次,还是如此。求教该怎么办。
这个reportviewers是15.0版本。