question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet build /v:q is not as quiet as msbuild /v:q

See original GitHub issue

Steps to reproduce

dotnet build /v:q

Expected behavior

Only the msbuild logo is displayed

Actual behavior

Additional lines are displayed:

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.15

Environment data

.NET Core SDK (reflecting any global.json):
 Version:   2.1.502
 Commit:    c74ce8f29f

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.16299
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.502\

Host (useful for support):
  Version: 2.1.6
  Commit:  3f4f8eebd8

.NET Core SDKs installed:
  1.0.0-preview2-003131 [C:\Program Files\dotnet\sdk]
  2.1.4 [C:\Program Files\dotnet\sdk]
  2.1.403 [C:\Program Files\dotnet\sdk]
  2.1.500 [C:\Program Files\dotnet\sdk]
  2.1.502 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 1.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
chamonscommented, Oct 27, 2021

For those looking for a workaround, as noted in the comment from ^

-v:quiet -consoleLoggerParameters:NoSummary

is actually quiet.

1reaction
livarcocccommented, Aug 28, 2019

@theswanand done! Thanks for the interest and the help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet build /v:q is not as quiet as msbuild /v:q · Issue #10032
Environment data .NET Core SDK (reflecting any global.json): Version: 2.1.502 Commit: c74ce8f29f Runtime Environment: OS Name: Windows ...
Read more >
Suppress Build Output When Running `dotnet run`
-v q sets output verbosity to quiet; --property WarningLevel=0 is for MsBuild, and described well in other answers. /clp:ErrorsOnly means ...
Read more >
dotnet build command - .NET CLI
The dotnet build command builds a project and all of its dependencies.
Read more >
Msbuild get directory name. props imported, or something ...
The dotnet build and msbuild commands are equivalent when passing in a ... The issue shall be the working directory isn't set to...
Read more >
No coverage in AzureDevops with .NET5 - SonarCloud
The project is a .NET 5.0 application with coverlet.msbuild & opencover for coverage. The pipeline use a template based on an other project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found