8000 Use msbuild v14 for linux/darwin. · pythonnet/pythonnet@14bc2e2 · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit 14bc2e2

Browse files
author
Benoit Hudson
committed
Use msbuild v14 for linux/darwin.
Fixes a build break on travis. Seems the latest nuget is finding msbuild 15, whereas pythonnet.sln is for msbuild 14.
1 parent 211155e commit 14bc2e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def _install_packages(self):
329329
self.debug_print("Updating NuGet: {0}".format(cmd))
330330
subprocess.check_call(cmd, shell=use_shell)
331331

332-
cmd = "{0} restore pythonnet.sln -o packages".format(nuget)
332+
cmd = "{0} restore pythonnet.sln -MSBuildVersion 14 -o packages".format(nuget)
333333
self.debug_print("Installing packages: {0}".format(cmd))
334334
subprocess.check_call(cmd, shell=use_shell)
335335

0 commit comments

Comments
 (0)
0