Wednesday, May 04, 2011

 

Add Visual Studio 2010 Command Prompt to IDE

Short steps to help me recall after a future system format.

Find the command prompt to copy arguments to the clipboard:
1. Click the windows button and search for "Visual Studio Command Prompt (2010)".
2. Right click it and select properties.
3. Copy the "target" field to the clipboard, Ctrl-c. it should look similiar to the following:
%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86


Add it to the visual studio IDE
1. On the menu bar open Tools / External Tools...
2. Click Add
3. Give it a name, such as "Visual Studio 2010 Command Prompt"
4. For Command, enter
cmd.exe

5. For Arguments, paste from your clipboard, Ctrl-v:
%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86


The Visual Studio 2010 Command Prompt will now show up on the Tools Menu.

Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]