( Version is 2017 for the current version. It's in the Visual Studio 2017 folder.Ĭhange to the \Program Files\Microsoft Visual Studio\ Version\ Offering\Common7\Tools or \Program Files (x86)\Microsoft Visual Studio\ Version\ Offering\Common7\Tools subdirectory of your installation. To run VsDevCmd.BATįrom the Start menu, open the Developer Command Prompt for VS 2017. Instead, you should run the command for each version in its own window. If the current version of Visual Studio is installed on a computer that also has an earlier version of Visual Studio, you should not run VsDevCmd.bat and VSVARS32.BAT from different versions in the same Command Prompt window. This file was stored in \Program Files\Microsoft Visual Studio\ Version\Common7\Tools or Program Files (x86)\Microsoft Visual Studio\ Version\Common7\Tools. Visual Studio 2015 and earlier versions used VSVARS32.bat for the same purpose. The VsDevCmd.bat file is a new file delivered with Visual Studio 2017. For more information about VsDevCmd.bat, see Knowledge Base article Q248802. The VsDevCmd.bat file sets the appropriate environment variables to enable command-line builds. How to: Set Environment Variables for the Visual Studio Command Line
0 Comments
Leave a Reply. |