I was trying to follow an example in the documentation that does the following, however elements like MakeDir and Copy no longer exist. Can anyone help or suggest an alternative?
<Target Name="CustomRedist">
<MakeDir Directories="$(RedistDir)\TestFiles" />
<!-- Force MSBuild to expand the item spec into physical file specs --><CreateItem Include="..\TestFiles***.*">
<Output TaskParameter="Include" ItemName="TestFilesSourceGroup" />
</CreateItem>
<!-- Copy all of the files and subfolders from ..\TestFiles to $(RedistDir)\TestFiles --><Copy DestinationFolder="$(RedistDir)\TestFiles\%(RecursiveDir)" SourceFiles="@(TestFilesSourceGroup)"/>
</Target>
Thanks,
Craig
<Target Name="CustomRedist">
<MakeDir Directories="$(RedistDir)\TestFiles" />
<!-- Force MSBuild to expand the item spec into physical file specs --><CreateItem Include="..\TestFiles***.*">
<Output TaskParameter="Include" ItemName="TestFilesSourceGroup" />
</CreateItem>
<!-- Copy all of the files and subfolders from ..\TestFiles to $(RedistDir)\TestFiles --><Copy DestinationFolder="$(RedistDir)\TestFiles\%(RecursiveDir)" SourceFiles="@(TestFilesSourceGroup)"/>
</Target>
Thanks,
Craig