Skip to content

Commit

Permalink
Specify sdk version in global.json (#3156)
Browse files Browse the repository at this point in the history
* create global.json

* pr feedback
  • Loading branch information
westin-m authored Dec 3, 2024
1 parent 3936c29 commit 0a1919c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/template-install-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ steps:
- task: UseDotNet@2
displayName: 'Use .NET SDK 9.0.x'
inputs:
version: 9.0.x
useGlobalJson: true

# Run Nuget Tool Installer

Expand Down
9 changes: 9 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"msbuild-sdks": {
"Microsoft.Build.NoTargets": "3.7.56"
},
"sdk": {
"version": "9.0.0",
"rollForward": "latestFeature"
}
}

0 comments on commit 0a1919c

Please sign in to comment.