Skip to content

Instantly share code, notes, and snippets.

@tonysneed
Last active December 4, 2021 17:37
Show Gist options
  • Save tonysneed/6a334e1b1080329bfec8927cf6f681a5 to your computer and use it in GitHub Desktop.
Save tonysneed/6a334e1b1080329bfec8927cf6f681a5 to your computer and use it in GitHub Desktop.
MS Build Target File
<Project>
<ItemGroup>
<Files Include="$(MSBuildThisFileDirectory)/../contentFiles/CodeTemplates/**/*.*" />
</ItemGroup>
<Target Name="CopyFiles" AfterTargets="Build">
<Copy SourceFiles="@(Files)" DestinationFolder="$(TargetDir)/CodeTemplates/%(RecursiveDir)" />
</Target>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment