diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index 43265a9f0c..6c4f9b126f 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -318,6 +318,11 @@ stages: inputs: artifact: build_output path: $(Build.SourcesDirectory) + - task: UseDotNet@2 + displayName: Use .NET $(dotnetVersion) + inputs: + version: $(dotnetVersion) + includePreviewVersions: $(dotnetIncludePreviewVersions) - powershell: sqllocaldb start mssqllocaldb displayName: Start localdb (Windows only) condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))