Cannot consume TrustedCertificatesDirectory from netfx app #113947
Labels
area-System.DirectoryServices
in-pr
There is an active PR which will close this issue when it is merged
tenet-compatibility
Incompatibility with previous versions or .NET Framework
Milestone
Description
See https://github.com/dotnet/runtime/pull/111877/files#r2014992550
That PR added TrustedCertificatesDirectory for netstandard2.0 but it's not implemented for netfx.
The netstandard2.0 surface area for DirectoryServices.Protocols must remain in sync with what is in netfx, since netstandard2.0 is compatible with netfx and the package doesn't provide a new netfx implementation.
Reproduction Steps
Run attached app: tcd.zip
Expected behavior
Compile error using TrustedCertificatesDirectory from netstandard.
Actual behavior
It will fail with:
Regression?
Not really, new API in net10.0 (backported in servicing)
Known Workarounds
Don't call the API if you wish to run on .NETFramework.
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: