aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Etcheverry2018-05-02 15:06:25 +0200
committerHein-Pieter van Braam2018-05-13 22:00:53 +0200
commit736e574a5edd558cd51ee8a138eeeea551b24689 (patch)
tree05be8c3e690c6686c7b4a637094dba5beb43c050
parent664052824ed092e3053c885589390711c8e2b038 (diff)
downloadgodot-736e574a5edd558cd51ee8a138eeeea551b24689.tar.gz
godot-736e574a5edd558cd51ee8a138eeeea551b24689.tar.zst
godot-736e574a5edd558cd51ee8a138eeeea551b24689.zip
Fix editor detecting msbuild with a msvc 'tools only' install
(cherry picked from commit 93d13bee8bef4bc010ab32bbf6209dc8754db437)
-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 9bb8da8ac..7b23cd757 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");