1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-07 19:53:17 +00:00

Merge pull request #18522 from hpvb/fix-find-msbuild

Fix msbuild with a msvc 'tools only' install
This commit is contained in:
Max Hilbrunner
2018-04-30 17:09:53 +02:00
committed by GitHub

View File

@@ -75,7 +75,7 @@ def find_msbuild_tools_path_reg():
vswhere = os.getenv('PROGRAMFILES')
vswhere += r'\Microsoft Visual Studio\Installer\vswhere.exe'
vswhere_args = ['-latest', '-requires', 'Microsoft.Component.MSBuild']
vswhere_args = ['-latest', '-products', '*', '-requires', 'Microsoft.Component.MSBuild']
try:
lines = subprocess.check_output([vswhere] + vswhere_args).splitlines()