Hi @Peter_1985 ,
Thanks for reaching out.
The message about net8.0-android being out of support means that the workload itself is deprecated and will no longer receive security updates or fixes. Because this is a product limitation, there isn’t a specific project file setting or code you can remove to make it supported again. For more details about this error, see https://v4.hkg1.meaqua.org/en-us/dotnet/core/tools/sdk-errors/netsdk1202.
What you can do on the project:
- If you no longer need Android support - you can remove
net8.0-androidfrom your<TargetFramework>(or<TargetFrameworks>) in the .csproj file. This effectively stops your project from depending on the unsupported workload. - If you need Android support - the safe approach is to migrate to a supported workload when available. You cannot make
net8.0-androiditself secure or supported again. Guidance on migration for Android projects can be found at https://v4.hkg1.meaqua.org/en-us/dotnet/maui/migration/android-projects?view=net-maui-10.0.
The MAUI support policy also explains which workloads are supported and which are out of support: https://dotnet.microsoft.com/en-us/platform/support/policy/maui.
Hope this helps! If my answer was helpful - kindly follow the instructions here so others with the same problem can benefit as well.