当我收到以下错误时,我正在尝试构建我的项目:
类或命名空间“Microsoft.Reporting”中不存在类型或命名空间名称“WinForms”(您是否缺少程序集引用?)
我已经添加了这个引用:
使用 System.Windows.Forms;
使用 Microsoft.Reporting.WinForms;
使用 Microsoft.Reporting.WebForms;
我正在使用带有 .Net 框架 4.0 的 Visual Studio 2010。
我该如何解决这个错误?
谢谢