Skip to content

Commit 1f99150

Browse files
Copilotgerhardol
andcommitted
fix: install .NET 10 SDK in AppVeyor CI before build
Co-authored-by: gerhardol <6248932+gerhardol@users.noreply.github.com>
1 parent c9a11ad commit 1f99150

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

appveyor.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ nuget:
1919
# Build worker image (VM template)
2020
image: Visual Studio 2022
2121

22+
# Install .NET 10 SDK (not pre-installed on AppVeyor VS2022 image)
23+
install:
24+
- ps: |
25+
$installScript = "$env:TEMP\dotnet-install.ps1"
26+
Invoke-WebRequest -UseBasicParsing 'https://dot.net/v1/dotnet-install.ps1' -OutFile $installScript
27+
& $installScript -Channel 10.0
28+
$env:PATH = "$env:LOCALAPPDATA\Microsoft\dotnet;$env:PATH"
29+
2230
# enable patching of Directory.Build.props
2331
dotnet_csproj:
2432
patch: true

0 commit comments

Comments
 (0)