开发者

Add warnings to project error list from the output of a post build tool

I have a command-line tool that I run as a post-build event. The tool does some analysis on the code in my project and generates a text file as its output.

I'd like to take the text file generated by the tool and add its contents to my project's Error List window as a set of warnings.

Is this poss开发者_StackOverflowible or do I need to write my own VS extension to make it happen?


It sounds like you're looking for a tool which will read a text file from disk and translate it into items in the Errors and Warnings dialog. If so no unfortunately that tool does not currently exist.

However it shouldn't be that difficult to add. There are several samples out there for adding items to the Errors window would could be applied to this scenario

  • http://www.mztools.com/articles/2008/MZ2008022.aspx
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜