From d9ace8a923c0c698794ad4de29a4102034459f69 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Mon, 24 Jun 2019 20:32:12 -0700 Subject: [PATCH] [xenia-build] Update old link and fix VS Preview not being found -prerelease allows preview/prerelease versions of VS to work in xb. https://github.com/microsoft/vswhere/issues/185#issuecomment-499962802 --- xenia-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xenia-build b/xenia-build index c4f969b3a..0b44ba890 100755 --- a/xenia-build +++ b/xenia-build @@ -48,7 +48,7 @@ def main(): if vs_version is None: print('ERROR: Visual Studio not found!') print('Please refer to the building guide:') - print('https://github.com/benvanik/xenia/blob/master/docs/building.md') + print('https://github.com/xenia-project/xenia/blob/master/docs/building.md') sys.exit(1) # Setup main argument parser and common arguments. @@ -96,7 +96,7 @@ def import_vs_environment(): install_path = None env_tool_args = None - vswhere = subprocess.check_output('third_party/vswhere/vswhere.exe -version "[15,)" -latest -format json -utf8', shell=False, universal_newlines=True) + vswhere = subprocess.check_output('third_party/vswhere/vswhere.exe -version "[15,)" -latest -prerelease -format json -utf8', shell=False, universal_newlines=True) if vswhere: vswhere = json.loads(vswhere) if vswhere and len(vswhere) > 0: