开发者

Visual Studio - Accessing Warnings/Errors from Error List in C#

开发者 https://www.devze.com 2023-03-23 16:45 出处:网络
I am a bit new to CSharp for a couple months, and I am trying to make \"grab\" the warnings/errors from the error list pane in Visual Studio and use them in my code, so that hopefully there can be a t

I am a bit new to CSharp for a couple months, and I am trying to make "grab" the warnings/errors from the error list pane in Visual Studio and use them in my code, so that hopefully there can be a time where I can call this program after building something. Is there a class/property I can use to let me Access the Error List Window and its info?

Edit: by "grab" I mean just get the inform开发者_JS百科ation in text(i.e. description or line number), so I can display it/write it to a file/etc.


See the MSDN documentation for ToolWindows.ErrorList.

0

精彩评论

暂无评论...
验证码 换一张
取 消