diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index d506b7ed7c..7b543b201a 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -144,6 +144,11 @@ stages: pool: vmImage: 'windows-latest' steps: + - task: UseDotNet@2 + displayName: Use .NET $(dotnetVersion) + inputs: + version: $(dotnetVersion) + includePreviewVersions: $(dotnetIncludePreviewVersions) - task: PowerShell@2 displayName: Install DocFX inputs: