diff --git a/tools/releaseBuild/azureDevOps/templates/nuget.yml b/tools/releaseBuild/azureDevOps/templates/nuget.yml index 2f583b52c4a..b868c9dbdf7 100644 --- a/tools/releaseBuild/azureDevOps/templates/nuget.yml +++ b/tools/releaseBuild/azureDevOps/templates/nuget.yml @@ -51,10 +51,10 @@ jobs: Write-Host "##$vstsCommandString" displayName: 'Find SDK version from global.json' - - task: DotNetCoreInstaller@0 + - task: UseDotNet@2 displayName: 'Use .NET Core SDK from global.json' inputs: - version: '$(SDKVersion)' + useGlobalJson: true - task: DownloadBuildArtifacts@0 displayName: 'Download PowerShell build artifacts - finalResults'