summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2018-05-02 15:06:25 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2018-05-02 15:06:25 +0200
commit93d13bee8bef4bc010ab32bbf6209dc8754db437 (patch)
tree68cb7ed6667bac02d9d6344557a5136d0fee0012 /modules/mono
parentd0183effe02edb973e44e5ad8b3608d861f86490 (diff)
Fix editor detecting msbuild with a msvc 'tools only' install
Diffstat (limited to 'modules/mono')
-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");