[MonoDevelop] Presenting errors from custom commands in the error list

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Sep 10 17:03:19 UTC 2012


On 22 August 2012 05:27, Peter Hultqvist <phq at silentorbit.com> wrote:
> I have a custom build script that process a few files and report any
> errors within them.
> The files are in the project for easy editing.
>
> Is it possible for the build command to generate error messages so that
> they will show up in the error list?
>
> I have already tried formatting the output similar to the error lines in
> the compiler output without success.
>
> My goal is to be able to double click the custom error to jump to the
> file and line reported.

This is not currently supported. It could be implemented by having the
custom tools use BuildResult.FromMSBuildErrorFormat:

https://github.com/mono/monodevelop/blob/master/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/BuildResult.cs#L301

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list