From 165c6f0e4d4ef241b52c978235b5759556ee3abd Mon Sep 17 00:00:00 2001 From: amine4567 Date: Sun, 16 May 2021 01:50:59 +0200 Subject: [PATCH] [Build] Support building with the standalone VS Build Tools --- xenia-build | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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: