Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Xamarin.Android.Build.Tasks] temporarily support .NET 8 in .NET 10 #9777

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jonathanpeppers
Copy link
Member

Context: dotnet/android-libraries#1084 (comment)
Context: https://aka.ms/maui-support-policy

dotnet/android-libraries needs to build with:

<TargetFrameworks>net8.0-android;net10.0-android</TargetFrameworks>

Typically each .NET release, we only support N-1 $(TargetFrameworks) and import Eol.targets to emit an error message on older versions.

We can make some .NET workload changes to support .NET 8 in a .NET 10 SDK until .NET 8 goes out of support in May.

I also updated some MSBuild tests to ensure .NET 8 projects build & run.

Context: dotnet/android-libraries#1084 (comment)
Context: https://aka.ms/maui-support-policy

dotnet/android-libraries needs to build with:

    <TargetFrameworks>net8.0-android;net10.0-android</TargetFrameworks>

Typically each .NET release, we only support N-1 `$(TargetFrameworks)`
and import `Eol.targets` to emit an error message on older versions.

We can make some .NET workload changes to support .NET 8 in a .NET 10
SDK until .NET 8 goes out of support in May.

I also updated some MSBuild tests to ensure .NET 8 projects build & run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant