My Snippets

Copying Files Using MsBuild

<ItemGroup>
    <MyFiles Include="C:\MyDir\**\*.cs"/>
</ItemGroup>

<MakeDir Directories="D:\MyDir"
    Condition="!Exists('D:\MyDir')" />

<Copy SourceFiles="@(MyFiles)"
    DestinationFolder="D:\MyDir\" />

September 30th, 2009 Posted by | msbuild | no comments

No Comments

No comments yet.

Sorry, the comment form is closed at this time.