File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
# ---------------------------------#
2
2
# Build Image #
3
3
# ---------------------------------#
4
- # Cake recipe requires .NET Core 2.1 which is not available on newer images
5
- image : Visual Studio 2019
4
+ image : Visual Studio 2022
5
+
6
+ # ---------------------------------#
7
+ # Install .NET #
8
+ # ---------------------------------#
9
+ install :
10
+ - ps : $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
11
+ - ps : mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
12
+ - ps : Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
13
+ - ps : ' & "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 2.1.818 -InstallDir $env:DOTNET_INSTALL_DIR'
14
+ - ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
15
+ - ps : dotnet --info
6
16
7
17
# ---------------------------------#
8
18
# Build Script #
You can’t perform that action at this time.
0 commit comments