@ 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 % \ Program Files \ Microsoft Visual Studio 10.0 \ reportviewer \ Microsoft. reportviewer. winforms. DLL "% destfolder %\< br> @ xcopy/I/y" % systemdrive % \ Program Files \ Microsoft Visual Studio 10.0 \ reportviewer \ ZH-CN "% destfolder % \ ZH- CN \
@erer.exe % destfolder %
If the version is incorrect, change it to the corresponding version, for example, 10.0.0.0 --> 9.0.0.0.
Microsoft Visual Studio 10.0 --> Microsoft Visual Studio 9.0 depends on the path of your machine.