Skip to content

Update out-of-support net8.0 MAUI targets to net9.0#26463

Merged
edgchen1 merged 8 commits intomainfrom
edgchen1/fix_dotnet_mobile_eol_issue
Nov 1, 2025
Merged

Update out-of-support net8.0 MAUI targets to net9.0#26463
edgchen1 merged 8 commits intomainfrom
edgchen1/fix_dotnet_mobile_eol_issue

Conversation

@edgchen1
Copy link
Contributor

Description

.NET MAUI 8 is out of support. See here: https://dotnet.microsoft.com/en-us/platform/support/policy/maui

We started seeing errors about this in the NuGet packaging pipeline.

##[error]C:\Program Files\dotnet\sdk\9.0.306\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets(38,5): Error NETSDK1202: The workload 'net8.0-ios' 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.

This change updates net8.0 mobile target framework monikers to net9.0.

Motivation and Context

Fix packaging pipeline.

snnn
snnn previously approved these changes Oct 31, 2025
Copy link
Contributor

@snnn snnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. But, actually I am not able to build the code with .net9 on Linux ( I didn't enable mobile). It's due to the *.snk files . The files were generated years ago with a weak RSA key. Now openssl rejects such low-strength RSA algorithms. So, it cannot sign the files. So, dotnet build cannot generate the managed DLLs.

skottmckay
skottmckay previously approved these changes Oct 31, 2025
@edgchen1 edgchen1 dismissed stale reviews from skottmckay and snnn via fc23c36 October 31, 2025 21:56
@edgchen1
Copy link
Contributor Author

LGTM. But, actually I am not able to build the code with .net9 on Linux ( I didn't enable mobile). It's due to the *.snk files . The files were generated years ago with a weak RSA key. Now openssl rejects such low-strength RSA algorithms. So, it cannot sign the files. So, dotnet build cannot generate the managed DLLs.

I suppose we'll have to deal with it when upgrading the other target frameworks to net9.0. currently, only the MAUI net8.0 ones are out of support.

@edgchen1 edgchen1 requested a review from skottmckay October 31, 2025 21:59
@edgchen1 edgchen1 merged commit 06ac0d4 into main Nov 1, 2025
92 checks passed
@edgchen1 edgchen1 deleted the edgchen1/fix_dotnet_mobile_eol_issue branch November 1, 2025 00:47
baijumeswani pushed a commit that referenced this pull request Jan 16, 2026
<!-- Describe your changes. -->

.NET MAUI 8 is out of support. See here:
https://dotnet.microsoft.com/en-us/platform/support/policy/maui

We started seeing errors about this in the NuGet packaging pipeline.
```
```

This change updates net8.0 mobile target framework monikers to net9.0.

<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

Fix packaging pipeline.
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.

3 participants