mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add workaround to install .NET 10 SDK in AppVeyor build
Added a script step to download and install .NET SDK 10.0.100 using dotnet-install.ps1, addressing missing SDK in VS2022 image. References AppVeyor issue regarding SDK availability.
This commit is contained in:
parent
5b413926c2
commit
f8582b9007
1 changed files with 6 additions and 0 deletions
|
|
@ -14,6 +14,12 @@ init:
|
|||
- sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest
|
||||
- net start WSearch
|
||||
|
||||
# As a workaround for net10 SDK not being available in Visual Studio 2022 image: https://github.com/appveyor/ci/issues/3984
|
||||
install:
|
||||
- ps: |
|
||||
Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -UseBasicParsing -OutFile "$env:temp\dotnet-install.ps1"
|
||||
& $env:temp\dotnet-install.ps1 -Architecture x64 -Version '10.0.100' -InstallDir "$env:ProgramFiles\dotnet"
|
||||
|
||||
cache:
|
||||
- '%USERPROFILE%\.nuget\packages -> **.sln, **.csproj' # preserve nuget folder (packages) unless the solution or projects change
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue