Skip to content

Instantly share code, notes, and snippets.

@cointoss1973
Forked from wonderful-panda/copyfiles.xml
Created August 22, 2013 23:25
Show Gist options
  • Save cointoss1973/6313960 to your computer and use it in GitHub Desktop.
Save cointoss1973/6313960 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<Project DefaultTargets="CopyFiles" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<TargetFiles Include="srcdir\**"
Exclude="**\*.obj;**\*.bak;**\.svn\**" />
</ItemGroup>
<Target Name="CopyFiles">
<Copy SourceFiles="@(TargetFiles)"
DestinationFiles="@(TargetFiles->'destdir\%(RecursiveDir)\%(Filename)%(Extension)')"
SkipUnchangedFiles="true" />
</Target>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment