Fix editor detecting msbuild with a msvc 'tools only' install
(cherry picked from commit 93d13bee8b
)
This commit is contained in:
parent
664052824e
commit
736e574a5e
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue