File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 2121 <PackageVersion_LibGit2Sharp_NativeBinaries >2.0.306</PackageVersion_LibGit2Sharp_NativeBinaries >
2222 <PackageVersion_JetBrainsAnnotations >2019.1.3</PackageVersion_JetBrainsAnnotations >
2323 <PackageVersion_YamlDotNet >8.0.0</PackageVersion_YamlDotNet >
24- <PackageVersion_NewtonsoftJson >12.0.3</PackageVersion_NewtonsoftJson >
2524
2625 <PackageVersion_MicrosoftTestSdk >16.4.0</PackageVersion_MicrosoftTestSdk >
2726 <PackageVersion_NSubstitute >4.2.1</PackageVersion_NSubstitute >
Original file line number Diff line number Diff line change 11using System . Collections . Generic ;
2- using Newtonsoft . Json ;
32using GitVersion . OutputVariables ;
3+ using System . Text . Json ;
44
55namespace GitVersionExe . Tests
66{
@@ -21,7 +21,7 @@ public virtual VersionVariables OutputVariables
2121 {
2222 get
2323 {
24- var outputVariables = JsonConvert . DeserializeObject < Dictionary < string , string > > ( Output ) ;
24+ var outputVariables = JsonSerializer . Deserialize < Dictionary < string , string > > ( Output ) ;
2525 return VersionVariables . FromDictionary ( outputVariables ) ;
2626 }
2727 }
Original file line number Diff line number Diff line change 66 <ItemGroup >
77 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" $(PackageVersion_MicrosoftTestSdk)" />
88 <PackageReference Include =" JetBrains.Annotations" Version =" $(PackageVersion_JetBrainsAnnotations)" ></PackageReference >
9- <PackageReference Include =" Newtonsoft.Json" Version =" $(PackageVersion_NewtonsoftJson)" ></PackageReference >
109 <PackageReference Include =" NSubstitute" Version =" $(PackageVersion_NSubstitute)" ></PackageReference >
1110 <PackageReference Include =" coverlet.msbuild" Version =" $(PackageVersion_CoverletMsBuild)" >
1211 <PrivateAssets >all</PrivateAssets >
You can’t perform that action at this time.
0 commit comments