Lines Matching full:msbuild
2 @rem Searches for MSBuild.exe. This is the only tool we need to initiate
6 @rem the MSBUILD variable), so we do not use setlocal or echo, and avoid
19 @if exist "%*" (set MSBUILD="%*") & (set _Py_MSBuild_Source=environment) & goto :found variable
23 @if exist "%~1" (set MSBUILD="%~1") & (set _Py_MSBuild_Source=environment) & goto :found variable
26 @set MSBUILD= variable
28 @rem If msbuild.exe is on the PATH, assume that the user wants that one.
29 @msbuild /version > nul 2>&1
30 @if NOT ERRORLEVEL 9009 set MSBUILD=msbuild & (set _Py_MSBuild_Source=PATH) & goto :found variable
32 @rem VS 2015 and earlier register MSBuild separately, so we can find it.
33 @rem Prefer MSBuild 14.0 over MSBuild 15.0, since the latter may not be able to find a VC14 install.
34 @reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0" /v MSBuildToolsPath /…
35 … "tokens=1,2*" %%i in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.…
36 @if "%%i"=="MSBuildToolsPath" @if exist "%%k\msbuild.exe" @(set MSBUILD="%%k\msbuild.exe") variable
38 @if exist %MSBUILD% (set _Py_MSBuild_Source=registry) & goto :found
40 @rem VS 2017 sets exactly one install as the "main" install, so we may find MSBuild in there.
43 …@if "%%i"=="15.0" @if exist "%%k\MSBuild\15.0\Bin\msbuild.exe" @(set MSBUILD="%%k\MSBuild\15.0\Bin… variable
45 @if exist %MSBUILD% (set _Py_MSBuild_Source=Visual Studio 2017 registry) & goto :found
51 @echo Using %MSBUILD% (found in the %_Py_MSBuild_Source%)