Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to add parsing errors to ErrorList window?

$
0
0

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


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>