Surround obsolete X509Certificate2 load in tests with warning disable. We started hitting errors when building the microbenchmarks due to the changes made for https://github.com/dotnet/runtime/issues/91763 making their way through to the daily SDK we use to build the benchmarks. Disabling the warning will get the benchmarks running again as we figure out how we want to update the certificate retrieval as the X509CertificateLoader is new and not available on versions < net9.0-preview.7 AFAICT.
Surround obsolete X509Certificate2 load in tests with warning disable. We started hitting errors when building the microbenchmarks due to the changes made for https://github.com/dotnet/runtime/issues/91763 making their way through to the daily SDK we use to build the benchmarks. Disabling the warning will get the benchmarks running again as we figure out how we want to update the certificate retrieval as the X509CertificateLoader is new and not available on versions < net9.0-preview.7 AFAICT.
First runtime-perf build that hit the issue: https://dev.azure.com/dnceng/internal/_build/results?buildId=2490580&view=results