Skip to content

Instantly share code, notes, and snippets.

@sharwell
Created August 31, 2012 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sharwell/3550639 to your computer and use it in GitHub Desktop.
Save sharwell/3550639 to your computer and use it in GitHub Desktop.
MEF support for the Output Window in Visual Studio 2010: Try to get existing pane
var outputWindow = OutputWindowService.TryGetPane("ANTLR IntelliSense Engine");
if (outputWindow != null)
outputWindow.WriteLine(message);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment