Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is output at the different MSBuild output verbosity levels?

What is the definition of what is output at the different levels of MSBuild build output verbosity?

  • Quiet
  • Minimal
  • Normal
  • Detailed
  • Diagnostic
like image 683
Torleif Avatar asked Feb 21 '11 11:02

Torleif


People also ask

What is switch in MSBuild?

When you use MSBuild.exe to build a project or solution file, you can include several switches to specify various aspects of the process. Every switch is available in two forms: -switch and /switch. The documentation only shows the -switch form. Switches are not case-sensitive.

Does Visual Studio call MSBuild?

Visual Studio uses MSBuild, but MSBuild doesn't depend on Visual Studio. By invoking msbuild.exe on your project or solution file, you can orchestrate and build products in environments where Visual Studio isn't installed.

How do I create a SLN file in MSBuild?

At the command line, type MSBuild.exe <SolutionName>. sln , where <SolutionName> corresponds to the file name of the solution that contains the target that you want to execute. Specify the target after the -target: switch in the format <ProjectName>:<TargetName>.


1 Answers

There exists the same question on social.msdn:

Quiet: only shows the result of your build.
Minimal: shows some configurations of your msbuild, and the CSC task.
Normal: This will show all the targets and its mainly steps.
Details: In addition to normal, this flag shows the task and it's implementation within the each target.
Diagnostic: Contains all the information that a MSBuild need and produce, it's switches, parameteres, prerequisites and etc. The input parameter of the target and task, and also contains the value of the input and output parameter, the detail steps of the task execution. The time execution for each task.

See how default logger uses verbosity here.

like image 111
Sergio Rykov Avatar answered Oct 13 '22 03:10

Sergio Rykov