Skip to content

Commit afee46c

Browse files
committed
Update use of dotnet cli
Which no longer takes branch names.
1 parent c9d94be commit afee46c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PowerShellEditorServices.build.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ task SetupDotNet -Before Clean, Build, TestServerWinPS, TestServerPS7, TestServe
107107
$dotnetExePath = if ($script:IsNix) { "$dotnetPath/dotnet" } else { "$dotnetPath/dotnet.exe" }
108108

109109
if (!(Test-Path $dotnetExePath)) {
110-
# TODO: Test .NET 5 with PowerShell 7.1, and add that channel here.
111-
Install-Dotnet -Channel '3.1','release/6.0.1xx-preview2'
110+
# TODO: Test .NET 5 with PowerShell 7.1
111+
Install-Dotnet -Channel '3.1','5.0','6.0'
112112
}
113113

114114
# This variable is used internally by 'dotnet' to know where it's installed

0 commit comments

Comments
 (0)