Fix editor detecting msbuild with a msvc 'tools only' install

(cherry picked from commit 93d13bee8b)
This commit is contained in:
Ignacio Etcheverry 2018-05-02 15:06:25 +02:00 committed by Hein-Pieter van Braam
parent 664052824e
commit 736e574a5e

View file

@ -174,6 +174,8 @@ String find_msbuild_tools_path() {
List<String> vswhere_args; List<String> vswhere_args;
vswhere_args.push_back("-latest"); vswhere_args.push_back("-latest");
vswhere_args.push_back("-products");
vswhere_args.push_back("*");
vswhere_args.push_back("-requires"); vswhere_args.push_back("-requires");
vswhere_args.push_back("Microsoft.Component.MSBuild"); vswhere_args.push_back("Microsoft.Component.MSBuild");