Search code examples
visual-studio-2022

How to display all Messages in Visual Studio 2022?


I want to see all "Messages" which are neither Warnings or Errors:

Errors-Warnings-Messages

However, they seem to only be found when I reach code where they are - unlike Errors and Warnings which are all shown on compiling. How can I show them all without having to scroll every code section?

I went on the internet, however given "Messages" is quite a common word, I can't find anything relevant to it.


Solution

  • On the Visual Studio top menu, select Analyze → Run Code Analysis → Solution / Project. This should list all the Errors/Warnings/Messages based on your selection.

    You can see it in action here: https://i.sstatic.net/Gwccj.gif