visual studio - Adding Native Tools Command Prompt on VS2015 RC -


since cannot locate native tools cmd under tools menu, try manually add in external tools. few questions:

  1. regardless of choose command (arm, x86 or x64 etc.), command c:\windows\system32\cmd.exe. why different cmds end having same path native system32's cmd?
  2. referring this answer, should insert /k "c:\program files (x86)\microsoft visual studio 12.0\common7\tools\vsdevcmd.bat" arguments - /k , bat argument? why need pass path argument command prompt?
  3. what initial directory?

screenshot

why different cmds end having same path native system32's cmd?

the vs2015* cmds cmd.exe environment variables set you. example instead of typing "c:\windows\microsoft.net\framework64\v4.0.30319\installutil.exe" run installutil.exe type installutil , work. if didn't set environment variables error message saying 'installutil' not recognized internal or external command, operable program or batch file.

what /k , bat argument? why need pass path argument command prompt?

/k parameter cmd.exe , run commands specified string follows (in case execute what's inside "c:\program files (x86)\microsoft visual studio 14.0\common7\tools\vsdevcmd.bat" , carry out).

what initial directory?

initial directory used specify working directory cmd.exe instance start in

so in end you'll have visual studio 2015:

enter image description here

the "arguments" vs2015 :

/k "c:\program files (x86)\microsoft visual studio 14.0\common7\tools\vsdevcmd.bat"


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -