Enhancements:
Adds .NET 9 to target frameworks
Fixes:
Adds missing DynamicallyAccessedMembers attribute to GetProviderSpecificFieldType and GetFieldType in netcore ref project.
Removes suppressions due to missing annotations in net6.0
Switches X509Certificate construction to use X509CertificateLoader.
Switches PKCS decoding to use SignedCMS.
Adds internal ReadExactly extension to System.IO.Stream in netfx to provide API parity between netcore and netfx and to address CA2022.
Guards ServicePointManager usage to netfx only, deprecated in .NET 9
https://learn.microsoft.com/en-us/dotnet/fundamentals/syslib-diagnostics/syslib0014https://learn.microsoft.com/en-us/dotnet/api/system.net.servicepointmanager?view=net-9.0
Package Versions:
Adds System.Security.Cryptography.Pkcs:9.0.0 to address SYSLIB0057
Adds Microsoft.Bcl.Cryptography:9.0.0, dependency of the pkcs package
Bumps Microsoft.Extensions.Caching.Memory to 9.0.0
Bumps System.Configuration.ConfigurationManager to 9.0.0
Test Dependencies:
Bumps Microsoft.DotNet.RemoteExecutor to 10.0.0-beta.24564.1
Bumps Xunit to 2.6.3 for all frameworks
* Remove net6 from target frameworks. Drop net6 specific conditions.
* Update pipeline, build, and nuspec files.
* Drop net6 fromnuspec.
* Clean up dll copy. Fix run test cmd file.
* Specify netcore version to use for test utilities.
Reverting the earlier PR that broke "MDS Main CI - Package" Pipeline.
We should revisit the changes and fix the pipeline before attempting to merge again - and it should be done on GitHub instead.
-------------
Revert "Merged PR 4952: eng | Add support custom sni on CI
Related work items: #30552
I'd like to propose my last change as part of SNI validation.
----
#### AI description (iteration 1)
#### PR Classification
New feature
#### PR Summary
This pull request adds support for custom SNI (Server Name Indication) in the CI pipeline, facilitating the migration of MDS tests with SNI dependency to YAML/build in Onebranch.
- Added `ci-custom-sni-step.yml` and `add-nuget-feed-step.yml` to handle custom SNI version updates and NuGet feed configuration.
- Updated `ci-run-tests-stage.yml` to conditionally include custom SNI steps based on the `internalSNIVersion` parameter.
- Modified `ci-build-nugets-job.yml` to update SNI version in nuspec files if `internalSNIVersion` is provided.
- Enhanced `ci-project-build-step.yml` and `ci-prebuild-step.yml` to include custom SNI steps.
- Updated main pipeline files (`dotnet-sqlclient-ci-core.yml`, `dotnet-sqlclient-ci-package-reference-pipeline.yml`, `dotnet-sqlclient-ci-project-reference-pipeline.yml`) to support the new `internalSNIVersion` parameter.
Related work items: #30552