Set MS Build output verbosity from build definition for TFS 2013

This blog post explains how to set the verbosity for the build log from a build definition in TFS 2013.

There are five different levels of verbosity that can be set for the ms build output, from visual studio:

· Quiet
· Minimal
· Normal
· Detailed
· Diagnostic

The details of each of the verbosity level is explained here.

In Visual Studio, MSBuild verbosity can be changed from:  Tools -- Options -- Projects and Solutions-- Build and Run -- MSBuild project build output verbosity

1

In TFS 2012, the MSBuild logging verbosity was available a drop – down, within the build definition, in the Basic tab.

2

This feature is not available in TFS 2013. To change the verbosity for a TFS 2013 build from the build definition, pass the parameter:

/flp:verbosity="<verbosity>" in the MSBuild arguments section, of the Process tab, in the build definition.

3

 

Cheers!!

Content created by – Sreeraj Rajendran
Content reviewed by – Romit Gulati