none
FAQ: 2.1 How do I parse errors to the ErrorList window from the Output window? RRS feed

Answers

  • You can use the OutputWindowPane.OutputTaskItemString() method which not only writes to the output window pane but also to the Error List too.

     

    Code Sample:

    OutputWindowPane buildPane = _applicationObject.ToolWindows.OutputWindow.OutputWindowPanes.Item("Build");

    buildPane.Activate();

    buildPane.OutputTaskItemString("stdafx.h(1) : a", vsTaskPriority.vsTaskPriorityHigh, null, vsTaskIcon.vsTaskIconComment, "stdafx.h", 1, "a", true);

     

    Related Thread:

    http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/61c6bebb-0810-47f1-a3c6-f63307e12e92
    • Marked as answer by MSDN FAQ Wednesday, May 5, 2010 1:06 PM
    Wednesday, May 5, 2010 1:06 PM