This is a mirror of official site: http://jasper-net.blogspot.com/

Did you know… you can have your External Tool’s text displayed in the Output Window ?

| Thursday, March 18, 2010
ExternalToolsCurrentText_thumb.jpg

At the bottom of the External Tools dialog, you’ll see more options for customizing the external tool within visual studio.  Today’s tip is about the Use output window option.  The idea here is you’re running a .bat file, and you want to track the progress within Visual Studio.  (and if you have a great real-world example, please leave a comment.)

Using the command prompt as the tool, you can set the Arguments to something like “/C echo $(CurText)” where

/C – from cmd.exe, carries out the command specified by string and then terminates

and

$(CurText) is a token that comes from Visual Studio that represents the currently-selected text.

Read more: Sara Ford's Weblog

Posted via email from jasper22's posterous

0 comments: