Skip to content

[release/10.0.1xx] Emit NETSDK1202 EOL warning for net9.0-android projects#11349

Draft
jonathanpeppers wants to merge 1 commit into
release/10.0.1xxfrom
jonathanpeppers/eol-warning-net9-android
Draft

[release/10.0.1xx] Emit NETSDK1202 EOL warning for net9.0-android projects#11349
jonathanpeppers wants to merge 1 commit into
release/10.0.1xxfrom
jonathanpeppers/eol-warning-net9-android

Conversation

@jonathanpeppers
Copy link
Copy Markdown
Member

Adds an EolWorkload item for net9.0-android so the .NET SDK emits the NETSDK1202 warning when building projects targeting net9.0-android, which has reached end-of-life.

<EolWorkload Include="net9.0-android" Url="https://aka.ms/maui-support-policy" />

This leverages the mechanism introduced in dotnet/sdk#32426.

Note

This change is only needed on release/10.0.1xx. On main (net11), net9.0-android projects already receive a hard error via Eol.targets (which imports for TFV ≤ 8.0 — and net9 will be added to that gate in a future release). On release/10.0.1xx, the net9 SDK is still functional, so we emit a warning rather than an error to give developers time to migrate.

Add an EolWorkload item for net9.0-android so the .NET SDK emits the
NETSDK1202 warning when building projects targeting net9.0-android,
which has reached end-of-life.

See: dotnet/sdk#32426

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jonathanpeppers jonathanpeppers changed the base branch from main to release/10.0.1xx May 14, 2026 15:55
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