When I install "real" editions, the command prompt exists as a tool, but not in the express edition?
How can I open the special command prompt, and have easier access to the various command-line tools that ship with Visual Studio and the .NET framework?
See Also
Start in Visual StudioOn the menu bar, select Tools > Command Line > Developer Command Prompt or Developer PowerShell.
To set command-line arguments in Visual Studio, right click on the project name, then go to Properties. In the Properties Pane, go to "Debugging", and in this pane is a line for "Command-line arguments." Add the values you would like to use on this line. They will be passed to the program via the argv array.
More precisely, the default path where you'll find the compiler is C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin .
The VS command prompt is not a standaloneshell, but the standard cmd.exe
with some EnvironmentVariables setup — through vcvarsall.bat
Charmingly, vcvarsall.bat
only ships with the c++ edition, and resides in the Microsoft Visual Studio 10.0\VC
folder.
So if you haven’t installed VS c++ Express — and you want to access the shell, you probably have to install VS c++ Express; that’s what I did, anyway.
Tools >> External Tools
in Visual Studio.Add
Visual Studio Command &Prompt
(C
is already assigned to Customize)cmd.exe
(should already be on your PATH)/k "\path\to\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
$(ProjectDir)
OK
I have these notes @ http://www.xradiograph.com/Programming/VisualStudioExpress which were in turn adapted from http://visualbasic.about.com/b/2010/08/17/the-visual-studio-command-prompt.htm and other sources
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With