Skip to content

Commit 526ae4f

Browse files
Make BuildAll.ps1 compatible with VS prerelease installs (#3656)
1 parent 2910e6b commit 526ae4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BuildAll.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ if(-not (test-path ".nuget\nuget.exe"))
6868
$configurationForMrtAndAnyCPU = "Release"
6969
$MRTSourcesDirectory = "dev\MRTCore"
7070

71-
$VCToolsInstallDir = . "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -Latest -requires Microsoft.Component.MSBuild -property InstallationPath
71+
$VCToolsInstallDir = . "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -Latest -prerelease -requires Microsoft.Component.MSBuild -property InstallationPath
7272
write-host "VCToolsInstallDir: $VCToolsInstallDir"
7373

7474
$msBuildPath = "$VCToolsInstallDir\MSBuild\Current\Bin\msbuild.exe"

0 commit comments

Comments
 (0)