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 @where msbuild > "%TEMP%\msbuild.loc" 2> nul && set /P MSBUILD= < "%TEMP%\msbuild.loc" & del "%TEMP…
30 @if exist "%MSBUILD%" set MSBUILD="%MSBUILD%" & (set _Py_MSBuild_Source=PATH) & goto :found variable
35 …\Installer\vswhere.exe" -property installationPath -latest') DO @(set _Py_MSBuild_Root=%%i\MSBuild)
37 …5.0) DO @if exist "%_Py_MSBuild_Root%\%%j\Bin\msbuild.exe" (set MSBUILD="%_Py_MSBuild_Root%\%%j\Bi… variable
39 @if defined MSBUILD @if exist %MSBUILD% (set _Py_MSBuild_Source=Visual Studio installation) & goto …
42 @rem VS 2017 sets exactly one install as the "main" install, so we may find MSBuild in there.
45 …@if "%%i"=="15.0" @if exist "%%k\MSBuild\15.0\Bin\msbuild.exe" @(set MSBUILD="%%k\MSBuild\15.0\Bin… variable
47 @if exist %MSBUILD% (set _Py_MSBuild_Source=Visual Studio 2017 registry) & goto :found
49 @rem VS 2015 and earlier register MSBuild separately, so we can find it.
50 @reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0" /v MSBuildToolsPath /…
51 … "tokens=1,2*" %%i in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.…
52 @if "%%i"=="MSBuildToolsPath" @if exist "%%k\msbuild.exe" @(set MSBUILD="%%k\msbuild.exe") variable
54 @if exist %MSBUILD% (set _Py_MSBuild_Source=registry) & goto :found
60 @pushd %MSBUILD% >nul 2>nul
62 @if exist msbuild.exe @(set MSBUILD="%CD%\msbuild.exe") else @(set MSBUILD=) variable
66 @if defined MSBUILD @echo Using %MSBUILD% (found in the %_Py_MSBuild_Source%)
67 @if not defined MSBUILD @echo Failed to find MSBuild
69 @if not defined MSBUILD @exit /b 1