提取ReportViewer控件的三个dll

@SET destFolder=.\bin
@XCOPY /I /Y %SYSTEMDRIVE%\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.ProcessingObjectModel.dll %destFolder%\
@XCOPY /I /Y %SYSTEMDRIVE%\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.Common.dll %destFolder%\
@XCOPY /I /Y %SYSTEMDRIVE%\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.DataVisualization\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.DataVisualization.dll %destFolder%\
@XCOPY /I /Y "%SYSTEMDRIVE%\Program Files\Microsoft Visual Studio 10.0\ReportViewer\Microsoft.ReportViewer.WinForms.dll" %destFolder%\
@XCOPY /I /Y "%SYSTEMDRIVE%\Program Files\Microsoft Visual Studio 10.0\ReportViewer\zh-CN" %destFolder%\zh-CN\
@explorer.exe %destFolder%

@XCOPY /I /Y "%SYSTEMDRIVE%\Program Files\Microsoft Visual Studio 10.0\ReportViewer\Microsoft.ReportViewer.DataVisualization.dll" %destFolder%\
@XCOPY /I /Y "%SYSTEMDRIVE%\Program Files\Microsoft Visual Studio 10.0\ReportViewer\zh-CN" %destFolder%\zh-CN\
@explorer.exe %destFolder%


保存为.cmd 格式的文件,在装有ReportViewer的服务器上双击运行即可得到bin文件夹。

 

你可能感兴趣的:(windows,Microsoft,服务器,assembly,dll)