The output window in Visual Studio IDE shows the captured build events/results and logs. By default, the Visual Studio does not show the build results in detail. There some special cases where we would need to have the detailed build results to be captured on output window in order to identify deeper level project build related issues, or diagnose some build error. In this article, learn about the verbosity levels of logging the build events/results in visual studio output window and how we can enable and disable the same via Visual Studio configuration window.
Display detailed output of MSBuild in Visual Studio output Window
The MSBuild is capable of capturing build events/results in 5 verbosity levels. This is the existing feature in all version of Visual Studio IDE.
In order to enable these verbosity levels perform below steps.
- navigate to Visual Studio Menu Tools -> Options.
- In the options screen, navigate to Project & Solutions and select Build & Run.
- In the Build & Run screen shows the dropdown list to set the verbosity levels for both MSBuild project output and logs.
Here is the sample output screen that shows how MSBuild results are displayed for each verbosity levels.
I hope this article helped you to choose between verbosity levels based on your build requirements. Please drop your comments below if you need further details on verbosity levels.
Software engineer by profession, and owned troubleshotyourself channel. Enthusiastic blogger and love to write articles on computer technology and programming. Reach me at firstname.lastname@example.org.