Pergunta

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 possible or do I need to write my own VS extension to make it happen?

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top