title: How to get Visual Studio Output Window content via EnvDTE (Non Package)
body: <p>I'm writing an out of process console program that automate Visual Studio (2012). 
  i need to get the content of the output pane either read it at once or preferably register to a notification on each line added to the output window.</p>
  
  <p>I've seen some examples that only apply when writing a package, but they won't apply when doing so for an out of process program.</p>
  
  <p>the big problem at the moment is that i can't get the output window service via GetService of a Service Provider. it always returns null.
  I'm not sure i can get it if i'm not writing a package.</p>