关于在vs中添加生成命令时的注意事项
涉及到目录最好用双引号括起来,防止在目录含有空格或文字时发生错误。例如
del "$(SolutionDir)\..\xxxxxx\xxxx\Build\*.*" /s /q
xcopy "$(TargetDir)*.dll" "$(SolutionDir)\..\xxxxxx\xxxx\Build" /s /e /y /i
xcopy "$(TargetDir)*.exe" "$(SolutionDir)\..\xxxxxx\xxxx\Build" /s /e /y /i