set msvs version to vs2017

This commit is contained in:
Vishwas Shashidhar
2021-03-12 11:33:02 +05:30
parent bfbc49ff98
commit 7b7f86614c

View File

@@ -1,6 +1,6 @@
:: Check to ensure that the VSDev command prompt is in the below location
echo "Starting VSDev Command Prompt"
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat"
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
echo %PATH%
@@ -18,6 +18,9 @@ echo %PATH%
call nvm install %NODE_REQUIRED_VERSION%
call nvm use %NODE_REQUIRED_VERSION%
call npm config set msvs_version 2017
set VCTargetsPath=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets
WHERE gulp
if %ERRORLEVEL% NEQ 0 (
echo "GULP does not exist. Installing it."