Visual Studio 2010 ReportViewer程序集引用

人气:79 发布:2023-01-03 标签: .net c# visual-studio-2010 reportviewer

问题描述

我有很长一段时间没有做C#了,但我现在正在更新我的一些项目。我将一个项目从Visual Studio2008导入到2010。 构建在日志中出现了一些令人困惑的错误:

      Considered "C:WindowsMicrosoft.NETFrameworkv2.0.50727Microsoft.ReportViewer.Common.dll", but it didn't exist.
              Considered "C:WindowsMicrosoft.NETFrameworkv2.0.50727Microsoft.ReportViewer.Common.exe", but it didn't exist.
[...]
 For SearchPath "{GAC}".
我真的不知道这指的是哪个程序集引用,也不知道如何添加它...据我所知,这是一个标准的程序集引用。

推荐答案

您可以从此处下载:Microsoft Report Viewer Redistributable 2010

[安装后,我相信此DLL已加载到GAC中。]

Bill McCarthy的帖子Upgrading Report applications to 4.0可能有用。

23