summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2018-04-30 17:09:53 +0200
committerGitHub <noreply@github.com>2018-04-30 17:09:53 +0200
commitea163673c7aebd6469c8952ea70d7208d1ead244 (patch)
treeb0c43ca5bb695fa18a5f808d979d1d31487eb536 /modules/mono
parent6244b9e2e1a7e675452fd574b5007dd25ec73c69 (diff)
parent0ec912a79e867dbd4beff9c19c393dce87d9a419 (diff)
Merge pull request #18522 from hpvb/fix-find-msbuild
Fix msbuild with a msvc 'tools only' install
Diffstat (limited to 'modules/mono')
-rw-r--r--modules/mono/mono_reg_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/mono_reg_utils.py b/modules/mono/mono_reg_utils.py
index 8ddddb3a24..9c188d07a7 100644
--- a/modules/mono/mono_reg_utils.py
+++ b/modules/mono/mono_reg_utils.py
@@ -75,7 +75,7 @@ def find_msbuild_tools_path_reg():
vswhere = os.getenv('PROGRAMFILES')
vswhere += r'\Microsoft Visual Studio\Installer\vswhere.exe'
- vswhere_args = ['-latest', '-requires', 'Microsoft.Component.MSBuild']
+ vswhere_args = ['-latest', '-products', '*', '-requires', 'Microsoft.Component.MSBuild']
try:
lines = subprocess.check_output([vswhere] + vswhere_args).splitlines()