Skip to content

Commit

Permalink
Update appveyor.yml fix global.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmgoossens authored Apr 14, 2024
1 parent dce4ec0 commit eb63d22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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=- )

Expand Down

0 comments on commit eb63d22

Please sign in to comment.