I'm writing an addin for monodevelop and I want to add programmatically parsing errors outside of a compilation process.
In my addin, when I parse the file I get a list of errors that are not related to a compilation process and that I would like to add in the error output.
The trick is to create a Task
like this:
TaskService.Errors.Add (new Task ("/path/to/file.xx, "Error message ", 10, 30, TaskSeverity.Error));