我已经从VS 2005移植到2010年的C ++项目。当它编译时,在使用rc(robocopy)复制项目输出时会给出以下错误。我找不到任何配置此过程的开关的地方。我如何能够通过旗帜来防止错误?
谢谢, 格里
生成代码......
1> 1> ------------------------------------------------------------------------------- 1> ROBOCOPY :: Robust File Copy for Windows :: Version XP026 1> ------------------------------------------------------------------------------- 1> 1> Started : Tue Mar 01 14:25:00 2011 1> 1> Source - 1> Dest - 1> 1> Files : 1> Options : /COPY:DAT /R:1 /W:1 1> 1> ------------------------------------------------------------------------------ 1> 1>RC : error : Invalid Parameter #1 : "/D" 1> 1> Simple Usage :: ROBOCOPY source destination /MIR 1> 1> source :: Source Directory (drive:\path or \\server\share\path). 1> destination :: Destination Dir (drive:\path or \\server\share\path). 1> /MIR :: Mirror a complete directory tree. 1> 1> For more usage information run ROBOCOPY /? or read Robocopy.Doc. 1> 1> NOTE: Read "True Replication" in Robocopy.Doc prior to first use of /MIR ! 1> **** /MIR can DELETE files as well as copy them !
答案 0 :(得分:0)
尝试查看项目属性,构建事件,构建后事件。