We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0fe9ab commit 404273cCopy full SHA for 404273c
cpython-windows/build.py
@@ -138,9 +138,9 @@ def find_msbuild():
138
p = subprocess.check_output(
139
[
140
str(vswhere),
141
- # Visual Studio 2017.
+ # Visual Studio 2019.
142
"-version",
143
- "[15,16)",
+ "[16,17)",
144
"-property",
145
"installationPath",
146
"-products",
@@ -151,7 +151,7 @@ def find_msbuild():
151
# Strictly speaking the output may not be UTF-8.
152
p = pathlib.Path(p.strip().decode("utf-8"))
153
154
- p = p / "MSBuild" / "15.0" / "Bin" / "MSBuild.exe"
+ p = p / "MSBuild" / "Current" / "Bin" / "MSBuild.exe"
155
156
if not p.exists():
157
print("%s does not exist" % p)
0 commit comments