version: 1.0.{build}
image: Visual Studio 2022
install:
  - dotnet tool install -g Cake.Tool --version 0.38.4 
  - SET JAVA_HOME=C:\Program Files\Java\jdk11
  - SET PATH=%JAVA_HOME%\bin;%PATH%
build_script:
- cmd: dotnet cake -Target=CI
test: off
cache:
  - '%USERPROFILE%\.sonar\cache'
  - '%USERPROFILE%\.nuget\packages -> **\*.csproj'
  - 'tools -> build.cake'

version: 1.0.{build}
image: Visual Studio 2019
install:
  - dotnet tool install -g Cake.Tool --version 0.38.4 
  - SET JAVA_HOME=C:\Program Files\Java\jdk11
  - SET PATH=%JAVA_HOME%\bin;%PATH%
build_script:
- cmd: dotnet cake -Target=CI
test: off
cache:
  - '%USERPROFILE%\.sonar\cache'
  - '%USERPROFILE%\.nuget\packages -> **\*.csproj'
  - 'tools -> build.cake'

Rollback to VS 2019 image
Rollback to VS 2019 image
