Skip to content

Commit 20e12e3

Browse files
Minor.
1 parent 3681b4f commit 20e12e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/scripts/InstallVisualStudio.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ if ("$Edition" -eq "BuildTools") {
8686

8787
# Channel URIs differ between VS 2022 and VS 2026+
8888
# VS 2022: release, pre, intpreview
89-
# VS 2026+: stable, insiders
89+
# VS 2026+: stable, insiders, intpreview (canary)
9090
if ("$Channel" -eq "Preview") {
9191
$responseFileName += ".preview"
9292
if ($vsversion -ge 18) {
@@ -130,7 +130,7 @@ if (-not $InstallPath) {
130130
}
131131

132132
if (-not $InstallPath) {
133-
if (($vsversion -eq "17") -or ($vsversion -eq "18")) {
133+
if (($vsversion -eq 17) -or ($vsversion -eq 18)) {
134134
$pathPrefix = "${env:ProgramFiles}";
135135
}
136136
if ("$Channel" -eq "Preview") {

0 commit comments

Comments
 (0)