Created
July 25, 2019 09:00
-
-
Save jeevan-vj/901b176902529a4668543737d5bb8fe7 to your computer and use it in GitHub Desktop.
Copy directory recursively in Ms Build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ItemGroup> | |
<CloudArtifacts Include=".Cloud\Data\**\*.*"/> | |
</ItemGroup> | |
<Target Name="CopyFiles"> | |
<Copy SourceFiles="@(CloudArtifacts)" DestinationFiles="@(CloudArtifacts->'c:\PackableFiles\%(RecursiveDir)%(Filename)%(Extension)')" /> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment