Use msbuild tools from PATH if available#208
Conversation
|
related: |
|
|
||
|
|
||
| def _find_msbuild_tool(tool="msbuild.exe", use_windows_sdk=False): | ||
| path = find_executable(tool) |
There was a problem hiding this comment.
This should be below the docstring
There was a problem hiding this comment.
Oh my god how did that happen 😮 Silly me.
While _find_msbuild_tool searches in the registry to find the given build tool, it doesn't check if it's already in PATH. If one uses a developer command prompt to build, all necessary tools are in PATH. Fixes pythonnet#207 for me
3247415 to
35e3b28
Compare
|
@denfromufa I fixed the docstring issue. Can this be merged or is something else missing? |
|
@rnestler actually it is @tonyroberts who is merging pull requests for pythonnet. I'm ordinary contributor like you are :) |
|
@rnestler looks fine - but the Appveyor CI tests aren't working right now, so I need to fix that before I can merge this PR. |
|
@tonyroberts I activated AppVeyor CI on my fork. It seems to build fine there: https://ci.appveyor.com/project/rnestler/pythonnet/build/1.0.2 |
While _find_msbuild_tool searches in the registry to find the given
build tool, it doesn't check if it's already in PATH.
If one uses a developer command prompt to build, all necessary tools are
in PATH.
Fixes #207 for me