Skip to content

Commit a48a9c5

Browse files
[Xamarin.Android.Build.Tasks] improve net6.0 "out of support" message (#8307)
Context: #8047 (comment) 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.
1 parent 4618aa8 commit a48a9c5

File tree

1 file changed

+1
-1
lines changed
  • src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/Sdk

1 file changed

+1
-1
lines changed

src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/Sdk/Eol.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Things to note:
2828
</PropertyGroup>
2929
<ItemGroup>
3030
<SdkSupportedTargetPlatformVersion Include="21.0" />
31-
<EolWorkload Include="android" Url="https://aka.ms/maui-support-policy" />
31+
<EolWorkload Include="net6.0-android" Url="https://aka.ms/maui-support-policy" />
3232
</ItemGroup>
3333
<Target Name="_ClearMissingWorkloads">
3434
<!--

0 commit comments

Comments
 (0)