IDE升级到VS2017之后,出现了如题所示的报错,重新引用DLL的方法如下:

1、右键引用,选择添加引用。

命名空间“Microsoft”中不存在类型或命名空间名“Reporting”(是否缺少程序集引用?)

2、左侧选择浏览,下面点击浏览按钮。

命名空间“Microsoft”中不存在类型或命名空间名“Reporting”(是否缺少程序集引用?)

3、分别添加Microsoft.ReportViewer.Common.DLL及Microsoft.ReportViewer.WinForms.DLL两个库文件,路径如下:

C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\12.0.0.0__89845dcd8080cc91

C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WinForms\12.0.0.0__89845dcd8080cc91

相关文章:

  • 2022-12-23
  • 2021-09-01
  • 2021-08-26
  • 2021-08-08
  • 2021-07-15
  • 2021-08-23
猜你喜欢
  • 2021-07-20
  • 2022-12-23
  • 2021-12-09
  • 2021-04-24
  • 2021-11-02
  • 2022-12-23
相关资源
相似解决方案