Shots in the dark while upgrading VS CTP. Appveyor latency sucks :|

This commit is contained in:
Ben Vanik 2015-02-11 20:49:05 -08:00
parent 0123ed3ec6
commit 60d4f3c2ea
1 changed files with 5 additions and 1 deletions

View File

@ -75,7 +75,11 @@ def import_vs_environment():
"""
version = 0
tools_path = ''
if 'VS140COMNTOOLS' in os.environ:
if 'VS150COMNTOOLS' in os.environ:
version = 2015
tools_path = os.environ['VS150COMNTOOLS']
elif 'VS140COMNTOOLS' in os.environ:
# TODO(benvanik): remove preview tools.
version = 2015
tools_path = os.environ['VS140COMNTOOLS']
elif 'VS120COMNTOOLS' in os.environ: