Skip to content

Commit 22465e5

Browse files
committed
Make dotnet install detection only care about the dotnet channel.
1 parent 2760979 commit 22465e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/build.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ let ciTestProjects =
105105
let install =
106106
lazy
107107
(if (DotNet.getVersion id).StartsWith "6" then id
108-
else DotNet.install (fun options -> { options with Version = DotNet.Version "6.0.200" }))
108+
else DotNet.install (fun options -> { options with Channel = DotNet.CliChannel.Version 6 0 }))
109109

110110
// Define general properties across various commands (with arguments)
111111
let inline withWorkDir wd = DotNet.Options.lift install.Value >> DotNet.Options.withWorkingDirectory wd

0 commit comments

Comments
 (0)