[#6825] Update packages to latest version that support .NET 6 #6840
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #6825
Description
This PR updates multiple dependencies to their latest version that support .NET 6 as minimum. Additionally, it fixes some of the breaking changes generated by these updates in the unit tests due to package protected methods, different type of Exceptions, and JSON schemas typos.
Specific Changes
MSTest.TestAdapter
from3.4.3
to3.5.1
.MSTest.TestFramework
from3.4.3
to3.5.1
.Antlr4.Runtime.Standard
from4.11.1
to4.13.1
.Microsoft.SourceLink.GitHub
from1.0.0
to8.0.0
.JsonPath.Net
from1.1.2
to1.1.4
.Azure.Storage.Blobs
from12.20.0
to12.21.1
.Azure.Storage.Queues
from12.18.0
to12.19.1
.Microsoft.Azure.Cosmos
from3.41.0
to3.42.0
.RichardSzalay.MockHttp
from6.0.0
to7.0.0
.Microsoft.Identity.Client
from4.61.3
to4.63.0
.Microsoft.IdentityModel.Protocols.OpenIdConnect
from7.6.3
to8.0.1
.Microsoft.AspNetCore.Mvc.NewtonsoftJson
from8.0.2
to8.0.7
.Newtonsoft.Json.Schema
from3.0.13
to4.0.1
.Jint
from3.1.5
to4.0.0
.BenchmarkDotNet
from0.13.12
to0.14.0
.NunitXml.TestLogger
from3.1.20
to4.0.254
.XunitXml.TestLogger
from3.1.20
to4.0.254
.Microsoft.IdentityModel.Tokens
from7.6.3
to8.0.1
.System.IdentityModel.Tokens.Jwt
from7.6.3
to8.0.1
.Testing
The following images show the CI pipeline.