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?

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

link|improve this question

74% accept rate
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
feedback

1 Answer

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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