summaryrefslogtreecommitdiffstats
path: root/PCbuild/build.bat
diff options
context:
space:
mode:
authorJeremy Kloth <jeremy.kloth@gmail.com>2018-12-10 03:59:32 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2018-12-10 03:59:32 (GMT)
commitf46eccd0ffe65333035c3820886295b71c41ab6e (patch)
tree81c321f633ffe57935ddcf2061349d07e5263636 /PCbuild/build.bat
parente448f9c99e75568dac7c92ea34ee5bef76bc6995 (diff)
downloadcpython-f46eccd0ffe65333035c3820886295b71c41ab6e.zip
cpython-f46eccd0ffe65333035c3820886295b71c41ab6e.tar.gz
cpython-f46eccd0ffe65333035c3820886295b71c41ab6e.tar.bz2
bpo-35433: Properly detect installed SDK versions (GH-11009)
Diffstat (limited to 'PCbuild/build.bat')
-rw-r--r--PCbuild/build.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/PCbuild/build.bat b/PCbuild/build.bat
index d4aebf5..759aa52 100644
--- a/PCbuild/build.bat
+++ b/PCbuild/build.bat
@@ -148,4 +148,5 @@ goto :eof
:Version
rem Display the current build version information
-%MSBUILD% "%dir%python.props" /t:ShowVersionInfo /v:m /nologo %1 %2 %3 %4 %5 %6 %7 %8 %9
+call "%dir%find_msbuild.bat" %MSBUILD%
+if not ERRORLEVEL 1 %MSBUILD% "%dir%pythoncore.vcxproj" /t:ShowVersionInfo /v:m /nologo %1 %2 %3 %4 %5 %6 %7 %8 %9