From 7d824514cbc8a84f27c9966c9aba7533cb87de61 Mon Sep 17 00:00:00 2001 From: Max Katz Date: Fri, 11 Feb 2022 01:03:09 -0500 Subject: [PATCH] Add android multitarget using Xamarin.Legacy.Sdk --- global.json | 1 + src/Android/Avalonia.Android/Avalonia.Android.csproj | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/global.json b/global.json index b160e4561dc9..1f93ed27c376 100644 --- a/global.json +++ b/global.json @@ -4,6 +4,7 @@ }, "msbuild-sdks": { "Microsoft.Build.Traversal": "1.0.43", + "Xamarin.Legacy.Sdk": "0.1.2-alpha6", "MSBuild.Sdk.Extras": "3.0.22", "AggregatePackage.NuGet.Sdk" : "0.1.12" } diff --git a/src/Android/Avalonia.Android/Avalonia.Android.csproj b/src/Android/Avalonia.Android/Avalonia.Android.csproj index 56a7c78048a4..2b890b5a4dd1 100644 --- a/src/Android/Avalonia.Android/Avalonia.Android.csproj +++ b/src/Android/Avalonia.Android/Avalonia.Android.csproj @@ -1,6 +1,6 @@ - + - net6.0-android + net6.0-android;monoandroid11.0 21 true