Last active
October 23, 2015 06:50
-
-
Save alantsai/164778d0ebcf742d7567 to your computer and use it in GitHub Desktop.
MSBuild copy link content over. From http://mattperdeck.com/post/Copying-linked-content-files-at-each-build-using-MSBuild.aspx
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
<Target Name="CopyLinkedContentFiles" BeforeTargets="Build"> | |
<Copy SourceFiles="%(Content.Identity)" | |
DestinationFiles="%(Content.Link)" | |
SkipUnchangedFiles='true' | |
OverwriteReadOnlyFiles='true' | |
Condition="'%(Content.Link)' != ''" /> | |
</Target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment