#error shows errors, # warning in warnings. How can I make a line of text in the message filter of the Error List window?
To clarify:
If I put the following line in a C # code file, it will create an error during assembly, and this error will appear in the error list window if I turn on errors (for example, tabs above the list, there are buttons for switching errors, warnings and messages).
The same can be done to enter warnings in the output of the assembly:
What would I put in a C # code file so that such a message appears in the message list?
c # visual-studio
Bernhard hofmann
source share