Fix editor detecting msbuild with a msvc 'tools only' install
(cherry picked from commit 93d13bee8b
)
This commit is contained in:
parent
664052824e
commit
736e574a5e
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue