Skip to content

Migrate to .NET 10 LTS - #3056

Open
kai-w-wang wants to merge 20 commits into
dotnet:mainfrom
kai-w-wang:net10
Open

kai-w-wang wants to merge 20 commits into
dotnet:mainfrom
kai-w-wang:net10

Conversation

@kai-w-wang

@kai-w-wang kai-w-wang commented Sep 20, 2026 •

Copy link
Copy Markdown

Migrate library and Dockerfile to .NET 10 LTS.

@MihaZupan MihaZupan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks.

Looks like CI isn't happy with this yet.

Comment thread TFMs.props Outdated
Comment thread testassets/BenchmarkApp/Program.cs Outdated
Comment thread src/ReverseProxy/Forwarder/RequestUtilities.cs Outdated
Comment thread src/ReverseProxy/Forwarder/RequestUtilities.cs Outdated
{
// Cert needs converting. Read https://github.com/dotnet/runtime/issues/23749#issuecomment-388231655
using var convertedCertificate = X509Certificate2.CreateFromPem(certString, privateString);
#if NET10_0_OR_GREATER

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

By dropping .NET 8, we can delete the fallback here and anywhere else in the repo

@kai-w-wang kai-w-wang Oct 5, 2026 •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I have removd preprocessor directives for NET10_0_OR_GREATER. Please be noticed that this will be a break change as the code will not be working with .NET 8 any longer.

Please resolve this conversation if you are happy with this break change.

kai-w-wang and others added 2 commits October 6, 2026 07:13
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
@MihaZupan MihaZupan added this to the YARP 3.0 milestone Oct 5, 2026
kai-w-wang and others added 3 commits October 6, 2026 07:16
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
Comment thread src/Kubernetes.Controller/Certificates/CertificateHelper.cs Outdated
@kai-w-wang

Copy link
Copy Markdown
Author

@dotnet-policy-service agree

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants