Merge pull request #110469 from shiena/fix/vswhere
fix: relax vswhere command conditions for broader compatibility
This commit is contained in:
@@ -719,8 +719,6 @@ def get_compiler_version(env):
|
||||
"-prerelease",
|
||||
"-products",
|
||||
"*",
|
||||
"-requires",
|
||||
"Microsoft.Component.MSBuild",
|
||||
"-utf8",
|
||||
]
|
||||
version = subprocess.check_output(args, encoding="utf-8").strip()
|
||||
|
||||
Reference in New Issue
Block a user