summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Etcheverry <neikeq@users.noreply.github.com>2018-05-02 15:13:44 +0200
committerGitHub <noreply@github.com>2018-05-02 15:13:44 +0200
commitc0192e405daf8e9139b1acfa6d236b916a0294a3 (patch)
treede1529b0900f057c70e1de431fa21488a35eca12
parenta04323e89afb48a62a26aa179fb647035237c60c (diff)
parent93d13bee8bef4bc010ab32bbf6209dc8754db437 (diff)
Merge pull request #18561 from neikeq/fix-find-msbuild-2
Fix editor detecting msbuild with a msvc 'tools only' install
-rw-r--r--modules/mono/utils/mono_reg_utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mono/utils/mono_reg_utils.cpp b/modules/mono/utils/mono_reg_utils.cpp
index 9bb8da8ac0..7b23cd7579 100644
--- a/modules/mono/utils/mono_reg_utils.cpp
+++ b/modules/mono/utils/mono_reg_utils.cpp
@@ -174,6 +174,8 @@ String find_msbuild_tools_path() {
List<String> vswhere_args;
vswhere_args.push_back("-latest");
+ vswhere_args.push_back("-products");
+ vswhere_args.push_back("*");
vswhere_args.push_back("-requires");
vswhere_args.push_back("Microsoft.Component.MSBuild");