diff options
| author | Ignacio Etcheverry | 2018-05-02 15:06:25 +0200 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-05-13 22:00:53 +0200 |
| commit | 736e574a5edd558cd51ee8a138eeeea551b24689 (patch) | |
| tree | 05be8c3e690c6686c7b4a637094dba5beb43c050 | |
| parent | 664052824ed092e3053c885589390711c8e2b038 (diff) | |
| download | godot-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.cpp | 2 |
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"); |
