Make BuildAll.ps1 compatible with VS prerelease installs (#3656)
This commit is contained in:
Родитель
2910e6bd06
Коммит
526ae4f38b
|
@ -68,7 +68,7 @@ if(-not (test-path ".nuget\nuget.exe"))
|
||||||
$configurationForMrtAndAnyCPU = "Release"
|
$configurationForMrtAndAnyCPU = "Release"
|
||||||
$MRTSourcesDirectory = "dev\MRTCore"
|
$MRTSourcesDirectory = "dev\MRTCore"
|
||||||
|
|
||||||
$VCToolsInstallDir = . "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -Latest -requires Microsoft.Component.MSBuild -property InstallationPath
|
$VCToolsInstallDir = . "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -Latest -prerelease -requires Microsoft.Component.MSBuild -property InstallationPath
|
||||||
write-host "VCToolsInstallDir: $VCToolsInstallDir"
|
write-host "VCToolsInstallDir: $VCToolsInstallDir"
|
||||||
|
|
||||||
$msBuildPath = "$VCToolsInstallDir\MSBuild\Current\Bin\msbuild.exe"
|
$msBuildPath = "$VCToolsInstallDir\MSBuild\Current\Bin\msbuild.exe"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче