Is there any way to create a custom message in the Visual Studio error list? I'm looking at VS 2010 and 2012.
For generating errors, it's a simple #error text
.
For generating warnings it's #pragma warning ("text")
.
For printing a message to the Output window, it's #pragma message("text")
There's little or no documentation on how to create a information message in the Error List. Anyone know if it is possible? I'd prefer if no VS addons would be used, but if there is a way with those, that would be fine too.
And this macro is a possible implementation of what Rost linked to :