I am working on a project to create a language service using Managed Package Framework. I want to show the parser errors in the error list window. Using DTE2, I can get a handle of ErrorList Window.
EnvDTE80.Window2 window = dte2.Windows.Item(EnvDTE80.WindowKinds.vsWindowKindErrorList);
ErrorList myErrorList = CType(window.Object, EnvDTE80.ErrorList);
However myErrorList does not expose Add method on ErrorItems collection. What is the way to add the error items programatically?
Can anyone help?
Thanks in advance.
Vinay Ahuja