From 50e53548554670e2ca4d4fb0a2257c5eb0e01261 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Mon, 28 Aug 2023 12:57:38 -0500 Subject: [PATCH] [Xamarin.Android.Build.Tasks] improve net6.0 "out of support" message Context: https://github.com/xamarin/xamarin-android/pull/8047#issuecomment-1692910565 The current error message: Microsoft.NET.EolTargetFrameworks.targets(35,5): error NETSDK1202: The workload 'android' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/maui-support-policy for more information about the support policy. Doesn't say the problem is .NET 6, it sounds like all versions of the `android` workload are out of support. To align with the xamarin-macios team, let's change it to be: The workload 'net6.0-android' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/maui-support-policy for more information about the support policy. --- .../Microsoft.Android.Sdk/Sdk/Eol.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/Sdk/Eol.targets b/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/Sdk/Eol.targets index a76b5dbb53c..3789466a1a0 100644 --- a/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/Sdk/Eol.targets +++ b/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/Sdk/Eol.targets @@ -28,7 +28,7 @@ Things to note: - +