Never In Doubt - Add the Visual Studio Command Prompt to VS2012
"Several times this week, I wanted to launch a Windows command prompt (not the VS Command Window which is different) while in Visual Studio 2012. More specifically, I wanted to open the command prompt in the directory of the item I had selected in Solution Explorer. I swear I could do that in VS2010 but I can’t find that in VS2012.
I gave up and did a two step dance:
- Right-click selected folder | “Open Folder in File Explorer” [alternatively: “Open Containing Folder”]
- Ctrl-Shift-right-click | “Open command window here”
That works for most purposes although I don’t benefit from the VS-specific environment variables.
Then I stumbled across an old blog post by V K Sumesh (2008) that describes how to add the Visual Studio Command Prompt (VSCP) to the tools menu. That’s worth a read for background. I’ve updated the steps here for VS 2012 and to suit my preferences.
Add VSCP to the Tools menu
...
Simple, easy and very, very light weight means to access the VS Command Prompt.
As Ward states later in his post there's Extensions to add this capability, but I just liked this as it used capabilities built into VS since about VS Day One...
No comments:
Post a Comment
NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...
ALL comments are moderated. I will review every comment before it will appear on the blog.
Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...
Please see my comment policy for more information if you are interested.
Thanks,
Greg
PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...