-
Notifications
You must be signed in to change notification settings - Fork 5k
[release/8.0-staging] Don't expose TrustedCertificatesDirectory() and StartNewTlsSessionContext() to NetFx #115008
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
[release/8.0-staging] Don't expose TrustedCertificatesDirectory() and StartNewTlsSessionContext() to NetFx #115008
Conversation
Note regarding the
|
1 similar comment
Note regarding the
|
Added When you commit this breaking change:
Tagging @dotnet/compat for awareness of the breaking change. |
@steveharter, let's add a breaking change doc around this, even though it was only out there for a couple months. That will help folks realize that it's intentional. |
/ba-g unrelated System.Globalization.Tests failures |
Backport of #113963 to release/8.0-staging
/cc @steveharter
v9 backport: #114995
Customer Impact
Two recently added members are now removed from the NetStandard package so that a project targeting NetStandard will get a compile error if they try to use the members instead of a
MissingMethodException
if the members are called when running under .NET Framework.Regression
Testing
Verified the NetStandard2.0 package does not contain:
LdapSessionOptions::get_TrustedCertificatesDirectory()
LdapSessionOptions::set_TrustedCertificatesDirectory()
LdapSessionOptions::StartNewTlsSessionContext()
Risk
Low. The method does not exist in the .NET Framework implementation, so we don't expose it in NetStandard.
IMPORTANT: If this backport is for a servicing release, please verify that:
release/X.0-staging
, notrelease/X.0
.Package authoring no longer needed in .NET 9
IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.