From 52d2365f87bad917c1f4475903dd8b5d4ae28e74 Mon Sep 17 00:00:00 2001 From: reduckted Date: Tue, 6 Jun 2023 21:11:21 +1000 Subject: [PATCH] Skipped the Newtonsoft.Json version when using the newer VS SDK. --- .../NewtonsoftJsonVersionCheck.targets | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/toolkit/nuget/build/imports/NewtonsoftJsonVersionCheck.targets b/src/toolkit/nuget/build/imports/NewtonsoftJsonVersionCheck.targets index 2ece1d1..e53f458 100644 --- a/src/toolkit/nuget/build/imports/NewtonsoftJsonVersionCheck.targets +++ b/src/toolkit/nuget/build/imports/NewtonsoftJsonVersionCheck.targets @@ -1,6 +1,6 @@ - + + + + @(CVST_NewtonsoftJsonReferenceVersion) - + @(CVST_VisualStudioSdkReferenceVersion) + + 17.5.33428.388 + $([MSBuild]::VersionGreaterThan('$(CVST_VisualStudioSdkVersion)', '$(CVST_NewtonsoftJsonSdkMaxVersion)')) + true + + + + true $([MSBuild]::VersionLessThanOrEquals('$(CVST_NewtonsoftJsonVersion)', '$(CVST_NewtonsoftJsonMaxVersion)')) true