Skip to content

Commit db10232

Browse files
committed
Pin .NET to 9.0
1 parent 0715532 commit db10232

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ install:
4545
- ps: |
4646
# Install the required .NET SDK
4747
Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1"
48-
./dotnet-install.ps1 -Channel LTS -InstallDir 'C:\Program Files\dotnet'
48+
./dotnet-install.ps1 -JSonFile ./global.json -InstallDir 'C:\Program Files\dotnet'
4949
# Remove the script so it doesn't "pollute" the build
5050
Remove-Item -Path .\dotnet-install.ps1
5151

global.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sdk": {
3+
"version": "9.0.305",
4+
"rollForward": "feature"
5+
}
6+
}

0 commit comments

Comments
 (0)