File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 90
90
Targets =" _GenerateXAWorkloadContent"
91
91
/>
92
92
93
- <GetAndroidWorkloadExtends JsonFilePath =" $(_LocalAndroidManifestFolder)WorkloadManifest.json" >
93
+ <GetAndroidWorkloadExtends Condition = " !$([MSBuild]::IsOSPlatform('linux')) " JsonFilePath =" $(_LocalAndroidManifestFolder)WorkloadManifest.json" >
94
94
<Output TaskParameter =" ExtendsElement" PropertyName =" AndroidWorkloadExtendsElement" />
95
95
</GetAndroidWorkloadExtends >
96
96
97
97
<PropertyGroup >
98
+ <!-- Linux can fail to install "microsoft-net-runtime-android-aot" and Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-x86 -->
99
+ <AndroidWorkloadExtendsElement Condition =" $([MSBuild]::IsOSPlatform('linux'))" >" microsoft-net-runtime-android" </AndroidWorkloadExtendsElement >
98
100
<_EmptyWorkloadJsonContent >
99
101
<![CDATA[
100
102
{"version": "0.0.1", "workloads": { "android-deps": { "extends" : [ $(AndroidWorkloadExtendsElement) ] } } }
You can’t perform that action at this time.
0 commit comments