Monday, January 6, 2014

Changing the logging level of MSBuild in the Visual Studio IDE

If you have ever had to troubleshoot problems with build compilation, you probably know that, by default, Visual Studio, does not provide you with a lot of error detail in the Output window.

Well, fortunately, since Visual Studio internally uses the MSBuild engine, you can modify the build logging detail or verbosity directly from within the IDE!!

  1. From the Tools menu, select Options
  2. Expand the "Projects and Solutions" menu item to display the "Build and Run" menu option
  3. Change the MSBuild logging level for the "MSBuild project build output verbosity" and "MSBuild project build log file verbosity" settings
  4. Re-compile your project or solution to see the additional details in your build compilation!

No comments:

Post a Comment