Skip to content

Commit

Permalink
[Build] Workaround: Remove RuntimeIdentifier from Solution references (
Browse files Browse the repository at this point in the history
  • Loading branch information
xen2 committed Dec 20, 2018
1 parent 89424e0 commit 88669a5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sources/targets/Xenko.GlobalSettings.targets
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
</ItemGroup>
</Target>

<!-- Workaround: Remove RuntimeIdentifier from Solution references (https://github.com/onovotny/MSBuildSdkExtras/issues/139) -->
<Target Name="_XenkoRemoveRuntimeIdentifierFromSolutionDependencies" AfterTargets="AssignProjectConfiguration">
<ItemGroup>
<ProjectReferenceWithConfiguration Condition="'%(ProjectReferenceWithConfiguration.ReferenceSourceTarget)' != 'ProjectReference'">
<GlobalPropertiesToRemove>%(ProjectReferenceWithConfiguration.GlobalPropertiesToRemove);RuntimeIdentifier</GlobalPropertiesToRemove>
</ProjectReferenceWithConfiguration>
</ItemGroup>
</Target>

<!--
Settings XenkoGraphicsApi specific
-->
Expand Down

0 comments on commit 88669a5

Please sign in to comment.