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.
Possibly this may help: Formatting the Output of a Custom Build Step or Build Event or https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-diagnostic-format-for-tasks?view=vs-2022