Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VsDevCmd vs VsMSBuildCmd

What's the difference between VsDevCmd.bat and VsMSBuildCmd.bat in Visual Studio 2015 (CTP 5)?

Both located in C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools aka VS140COMNTOOLS.

like image 793
Ilya Kozhevnikov Avatar asked Feb 06 '15 14:02

Ilya Kozhevnikov


1 Answers

Looking at the code for VsMSBuildCmd.bat, it sets VS140COMNTOOLS environment variable from the registry, and also adds MSBuild in the PATH.

VsDevCmd.bat does the same plus it adds a bunch of other directories in the PATH and sets a few more environment variables, most of which are used by Visual C++ compiler. Also adds path to TypeScript Compiler.

like image 55
orad Avatar answered Oct 06 '22 13:10

orad