소스 검색

Merge pull request #18561 from neikeq/fix-find-msbuild-2

Fix editor detecting msbuild with a msvc 'tools only' install
Ignacio Etcheverry 7 년 전
부모
커밋
c0192e405d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      modules/mono/utils/mono_reg_utils.cpp

+ 2 - 0
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");