Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Basically I'm looking for something like the "Visual Studio Command Prompt", but which can be docked as a tab or otherwise moved about like any other Visual Studio panel.

Does such a thing exist?

I'm looking for something like PowerConsole but which would let me run msbuild from whithin the IDE.

share|improve this question
    
can't you run msbuild from inside powerconsole? –  akira Jan 26 '11 at 6:15
    
@akira: Perhaps you can, but it seems you have to specify the full path of the msbuild executable (or screw around with %PATH%?). Plus a ton of environment variables need set for the various compilers to work correctly. MSVS includes a batch script to do all this, but I don't think that'll run in PowerShell. –  Billy ONeal Jan 26 '11 at 6:21
    
you can do this, very easily and i ll give you an answer for that. –  akira Jan 26 '11 at 10:03

1 Answer 1

instead of searching any further: just use the powerconsole and incorporate the settings of the "visual studio command prompt".

the visual studio command prompt is nothing more but:

  1. cmd.exe
  2. feed with vcvarsall.bat

so, all you have to do is execute vcvarsall.bat and interprete the result of that into your powershell. luckily this can be achieved very easily:

this should you get going, no need for cmd.exe, really.

share|improve this answer
    
I'm confused -- the powershell console uses powershell, not the command processor (cmd.exe) -- I don't even need the vcvarsall bit -- I just want a plain terminal window. –  Billy ONeal Mar 15 '11 at 14:44
    
If you want to use cmd.exe from within PowerShell, just run cmd.exe from within PowerShell. I don't know if there are any limitations with this, but I've never run into an issue where something works in the Command Line but not by running cmd.exe from PS. –  Alexander Miles Apr 12 '13 at 18:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.