From eb63d22db89ef06659a028f3433d19c78a649c88 Mon Sep 17 00:00:00 2001 From: Jan-Willem <56190178+jhmgoossens@users.noreply.github.com> Date: Sun, 14 Apr 2024 10:57:12 +0200 Subject: [PATCH] Update appveyor.yml fix global.json --- appveyor.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 75ff43f..3d420ac 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -112,8 +112,7 @@ before_build: - echo Creating %RELEASE_NAME%-src.zip artefact from projects folder - call build-third-party-license.bat - 7z a -tzip -r -x!.git "c:\projects\sonnet\%RELEASE_NAME%-src.zip" c:\projects\* - # Add global.json for SonnetWrapper for build error NETSDK1145 - - echo { "sdk": { "version": "6.0.0", "rollForward": "latestMinor" } } > MSVisualStudio\v17\SonnetWrapper\global.json + - echo {"sdk":{"version":"6.0.0","rollForward":"latestMinor"}} > MSVisualStudio\v17\SonnetWrapper\global.json - nuget restore MSVisualStudio\v17\Sonnet.sln - if not "%sonar_token%"=="" ( SonarScanner.MSBuild.exe begin /k:"%RELEASE_NAME%" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=%sonar_token%" /o:"jhmgoossens" /d:sonar.c.file.suffixes=- /d:sonar.cpp.file.suffixes=- /d:sonar.objc.file.suffixes=- )