diff --git a/xenia-build b/xenia-build index fd46fb2e7..7851552b0 100755 --- a/xenia-build +++ b/xenia-build @@ -74,7 +74,16 @@ def import_vs_environment(): install_path = None env_tool_args = None - vswhere = subprocess.check_output('third_party/vswhere/vswhere.exe -version "[15,)" -latest -prerelease -format json -utf8', shell=False, universal_newlines=True, encoding="utf-8") + vswhere = subprocess.check_output( + 'third_party/vswhere/vswhere.exe -version "[15,)" -latest -prerelease -format json -utf8 -products ' + "Microsoft.VisualStudio.Product.Enterprise " + "Microsoft.VisualStudio.Product.Professional " + "Microsoft.VisualStudio.Product.Community " + "Microsoft.VisualStudio.Product.BuildTools", + shell=False, + universal_newlines=True, + encoding="utf-8", + ) if vswhere: vswhere = json.loads(vswhere) if vswhere and len(vswhere) > 0: