【发布时间】:2015-02-13 06:57:03
【问题描述】:
假设我有一个项目解决方案,我想在构建后将 bin/Release 文件夹的内容复制到另一个名为“Deploy”的文件夹中
Source: D:\Solution\bin\Release
Destination: D:\Destinationfolder\bin\deploy
宏如下
TargetDir : D:\Solution\bin\Release
ProjectDir: D:\Solution
我试过了
xcopy /? $(TargetDir) $(ProjectDir)\..\Bin\Deploy /R /Y /S
这不起作用。我做错什么了吗?有没有其他方法可以做到这一点?
【问题讨论】:
标签: visual-studio-2010 post-build-event