Thursday, December 20, 2012

 

How to copy Microsoft.ReportViewer.Common.dll to bin folder of your project

How to copy Microsoft.ReportViewer.Common.dll from the GAC to the bin folder of your project
For version 11 :

xcopy "C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel\11.0.0.0__89845dcd8080cc91" "C:\projectfolder\bin"
xcopy "C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\11.0.0.0__89845dcd8080cc91" "C:\projectfolder\bin"
xcopy "C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\11.0.0.0__89845dcd8080cc91" "C:\projectfolder\bin"
xcopy "C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WinForms\11.0.0.0__89845dcd8080cc91" "C:\projectfolder\bin"
For previous versions replace 11.0.0.0__89845dcd8080cc91 with either
8.0.0.0__b03f5f7f11d50a3a, 9.0.0.0__b03f5f7f11d50a3a or 10.0.0.0__b03f5f7f11d50a3a

This page is powered by Blogger. Isn't yours?