Hello!

Many times I face myselft with Visual Studio solutions that take a long time in the basic step of bulld and run unit tests. When I attempt to help or ask for help to see something with “bad smell” I’m amazed with the following

Many people are not aware that by default, the level of logging in a Build in Visual Studio IDE is Minimal!

I learned this one many years ago when I was fighting with the Team Foundation Server 2005 builds. The following are possible values for the Build log detail:

  • Minmal (default)
  • Normal
  • Detailed
  • Diagnostic

Surely they are familiar if you’ve worked with trace or logging. And see the difference between a build in Minimal mode

b01

And one in Normal mode

b03

We have times, executed lines, commands and variables of compilation, etc.

Set the verbosity level is within the options in the IDE, in the section “Project and Solutions / / Build and Run

b04

Another important detail is that we can change the level of detail both to the Visual Studio Output and as for the build log. Personally I recommend

Have the project build from IDE to Normal and build Detailed log file

This is usually more than enough. And before that you forget me, this applies to believe that all versions of Visual Studio.

Greetings @ Home

/El Bruno

Leave a comment

Discover more from El Bruno

Subscribe now to keep reading and get access to the full archive.

Continue reading