Skip to content

Commit

Permalink
Install .NET SDK in PR Validation pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich authored and jmarolf committed Nov 17, 2021
1 parent 0c60190 commit 8931402
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions azure-pipelines-pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ stages:
inputs:
nuGetServiceConnections: azure-public/vs-impl, azure-public/vssdk

# Needed because the build fails the NuGet Tools restore without it
- task: UseDotNet@2
displayName: 'Use .NET Core sdk'
inputs:
packageType: sdk
useGlobalJson: true
workingDirectory: '$(Build.SourcesDirectory)'

# Needed to restore the Microsoft.DevDiv.Optimization.Data.PowerShell package
- task: NuGetCommand@2
displayName: Restore internal tools
Expand Down

0 comments on commit 8931402

Please sign in to comment.