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

fix: target current LTS framework for Microsoft.AspNetCore.Connections.Abstractions #59219

Merged

Conversation

DeagleGross
Copy link
Contributor

Orleans users filed issue, where Microsoft.AspNetCore.Connections.Abstractions was used as a netstandard2.1 NuGet, because of missing .net8 (current LTS) framework target.

This resulted in missing specific properties on interfaces (see ITlsHandshakeFeature.NegotiatedCipherSuite), which are not included with netstandard package because of preprocessor directives.

@ReubenBond has already changed the references for Orleans; now it is targeting .net8, so the issue is resolved:
dotnet/orleans#9238 (comment)

However, I think including LTS as a target framework for Microsoft.AspNetCore.Connections.Abstractions library would still be safe and useful from the aspnetcore side.

Fixes #59095

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label Nov 29, 2024
@DeagleGross DeagleGross self-assigned this Nov 29, 2024
@mgravell
Copy link
Member

It makes sense to me, to avoid foot-shotguns, as illustrated by Orleans. If our own team can fall into it: externals are doomed!

@DeagleGross DeagleGross merged commit 7e5155d into dotnet:main Nov 29, 2024
27 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview1 milestone Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Microsoft.AspNetCore.Connections.Abstractions 9.0 needs additional TFM net8.0
2 participants