Skip to content
Permalink
Browse files

[Build] Workaround: Remove RuntimeIdentifier from Solution references (

  • Loading branch information
xen2 committed Dec 12, 2018
1 parent 89424e0 commit 88669a587ceea407551487987dedb4e22b9cd13a
Showing with 9 additions and 0 deletions.
  1. +9 −0 sources/targets/Xenko.GlobalSettings.targets
@@ -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
-->

0 comments on commit 88669a5

Please sign in to comment.
You can’t perform that action at this time.