Last active
December 17, 2018 17:01
-
-
Save tobiasschulz/ccfefa4a04c2df5d2d54665d8e3b04b4 to your computer and use it in GitHub Desktop.
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> | |
<ItemGroup> | |
<AdditionalFiles Update="@(AdditionalFiles)"> | |
<LinkBase Condition="'%(LinkBase)' != ''">$([MSBuild]::EnsureTrailingSlash(%(LinkBase)))</LinkBase> | |
<Link Condition="'%(Link)' == '' And !$([MSBuild]::ValueOrDefault('%(FullPath)', '').StartsWith($([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory)))))">%(LinkBase)%(RecursiveDir)%(Filename)%(Extension)</Link> | |
</AdditionalFiles> | |
</ItemGroup> | |
</Project> | |
https://stackoverflow.com/a/44427519 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment