FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Build fixes for the fresh Windows 10 SDKS. · pythonnet/pythonnet@6457aa8 · GitHub

Repository navigation

Commit 6457aa8

Browse files
dse
committed
Build fixes for the fresh Windows 10 SDKS.
1 parent f1229bd commit 6457aa8

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎setup.py‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
kits_suffix = os.path.join("bin", ARCH)
4141

4242
WIN_SDK_KEYS = (
43+
RegKey(sdk_name="Windows Kit 10.0", key=kits_root,
44+
value_name="KitsRoot10", suffix=os.path.join("bin", "10.0.16299.0", ARCH)),
45+
46+
RegKey(sdk_name="Windows Kit 10.0", key=kits_root,
47+
value_name="KitsRoot10", suffix=os.path.join("bin", "10.0.15063.0", ARCH)),
48+
4349
RegKey(sdk_name="Windows Kit 10.0", key=kits_root,
4450
value_name="KitsRoot10", suffix=kits_suffix),
4551

@@ -326,7 +332,7 @@ def _find_msbuild_tool(self, tool="msbuild.exe", use_windows_sdk=False):
326332
"""Return full path to one of the Microsoft build tools"""
327333

328334
# trying to search path with help of vswhere when MSBuild 15.0 and higher installed.
329-
if use_windows_sdk==False:
335+
if tool=="msbuild.exe" and use_windows_sdk==False:
330336
try:
331337
basePathes = subprocess.check_output(
332338
["tools\\vswhere\\vswhere.exe", "-latest",

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL