forked from github/VisualStudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvars.cmd
13 lines (10 loc) · 865 Bytes
/
vars.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
@echo off
rem Add path to Visual Studio 2019 Tools
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\Common7\Tools" set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\Common7\Tools
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\Common7\Tools" set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\Common7\Tools
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\Common7\Tools" set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\Common7\Tools
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Preview\Common7\Tools" set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Preview\Common7\Tools
rem Set up Developer Command Prompt
call VsDevCmd.bat
rem Use local NuGet version
set PATH=%cd%\tools\nuget;%PATH%