我在哪里可以下载Visual Studio 2012 Report Viewer Runtime?

Mik*_*ike 17 reporting-services visual-studio-2012

现在Visual Studio 2012已经发布,我在哪里可以下载随附的2012 Report Viewer Runtime,以便我可以在我的服务器上安装它?Visual Studio 2012中是否包含可再发行的安装程序?

具体来说,我正在寻找更新的2012版本:Microsoft Report Viewer 2010 Redistributable Package

Mik*_*ike 15

我相信我找到了一个临时的解决方法:

  1. 在项目的引用中,选择Microsoft.ReportViewer.WebForms程序集.
  2. 添加引用 C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\11.0.0.0__89845dcd8080cc91\Microsoft.ReportViewer.Common.dll
  3. 在属性窗口中,为两个程序集将"Copy Local"设置为True.
  4. 将项目部署到服务器.

我没有对此进行过广泛的测试,但到目前为止,只需将程序集复制到项目的bin目录即可满足服务器上的运行时要求.

  • 我还认为您需要将其他DLL从GAC顶部复制到bin文件夹中...具体来说,Microsoft.ReportViewer.ProcessingObjectModel.dll Microsoft.ReportViewer.DataVisualization.DLL和Microsoft.SqlServer.Types.dll (4认同)