Skip to content
Permalink
Browse files

[Build] Fix Android build due to lack of NuGetRuntimeIdentifier

  • Loading branch information
xen2 committed Dec 15, 2018
1 parent 7e1adcd commit a2e151a368275f5404919df3e5d95c23c781c68c
Showing with 6 additions and 0 deletions.
  1. +6 −0 sources/core/Xenko.Core/build/Xenko.Core.targets
@@ -48,6 +48,12 @@
<XenkoPlatform Condition="'$(XenkoPlatform)' == ''">Windows</XenkoPlatform>
</PropertyGroup>

<!-- If not set, Android executable doesn't work properly because ResolveNuGetPackageAssets has no NuGetRuntimeIdentifier and use only the ref assemblies -->
<PropertyGroup Condition="'$(XenkoPlatform)' == 'Android' And '$(AndroidApplication)' == 'true'">
<RuntimeIdentifier>win</RuntimeIdentifier>
<NuGetRuntimeIdentifier>win</NuGetRuntimeIdentifier>
</PropertyGroup>

<!--
*****************************************************************************************************************************
Assembly Processor

0 comments on commit a2e151a

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