<PropertyGroup>
<PostBuildEvent>
if "$(ConfigurationName)" == "Release" goto Release
goto End
:Release
copy *.* ..\..\..\..\Release\
:End
</PostBuildEvent>
</PropertyGroup>
转载于:https://www.cnblogs.com/shiningrise/archive/2013/03/09/2951873.html