diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0cba7e9..da86ab6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,6 +11,13 @@ trigger: pool: vmImage: 'windows-latest' +install: +- ps: | + Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -UseBasicParsing -OutFile "$env:temp\dotnet-install.ps1" + & $env:temp\dotnet-install.ps1 -Architecture x64 -Version '10.0.100' -InstallDir "$env:ProgramFiles\dotnet" +before_build: + - cmd: dotnet --version + variables: buildConfiguration: 'Release'