我从朋友处获得了Visual Studio 2005项目的副本。该项目引用了DLL.Microsoft.ReportViewer.Common和Microsoft.ReportViewer.WinForms。在我的机器上我有Visual Studio 2012.我升级了项目。对这些DLL的引用是可以理解的,因为它们是Windows位置,而不是VS项目。所以,我想删除引用并重新创建,但我在我的机器上找不到DLL。他们没有安装Visual Studio 2012吗?我可以下载吗?
答案 0 :(得分:1)
我从朋友那里得到了一个Visual Studio 2005项目的副本
这解释了问题,项目的目标.NET版本是2.0。 VS2012附带的ReportViewer至少需要3.5。
使用Project + Properties,Application选项卡,Target Framework组合框修复它。然后,您将在工具箱的“报告”标题下找到ReportViewer控件。
答案 1 :(得分:0)
答案 2 :(得分:0)
这些已被Report Server取代。虽然如果你从VS2005机器上复制它们,你仍然可以在解决方案中将它们用作二进制参考。你可以download the binaries from the MSDN Download site。
虽然也应该有binaries for Visual Studio 2012。我怀疑在安装SQL Server Development tools时会安装它们,其中包括SQL Server Reporting Server组件。