Skip to content

dotnet build ignores /v verbosity flag in .NET 9.0.0-preview.7 #43069

Closed
@perlun

Description

@perlun

Describe the bug

dotnet build ignores /v verbosity flag in .NET 9.0.0-preview.7

To Reproduce

Run dotnet build SomeProject.sln /v:d

On .NET 8 (by temporarily downgrading the dotnet-host package using apt-get install dotnet-host=8.0.8-1), this correctly increases the verbosity level to d[etailed]. On .NET 9, the setting seems to be ignored. The output is seemingly the same as in n[ormal] mode.

Adding the --debug flag also has no effect, on .NET 9.

Exceptions (if any)

None

Further technical details

  • Include the output of dotnet --info:

Seen on both Windows (11?) and Debian GNU/Linux (my machine). Output for the latter from below:

.NET SDK:
 Version:           9.0.100-preview.7.24407.12
 Commit:            d672b8a045
 Workload version:  9.0.100-manifests.a8e34f65
 MSBuild version:   17.12.0-preview-24374-02+48e81c6f1

Runtime Environment:
 OS Name:     debian
 OS Version:  12
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /usr/share/dotnet/sdk/9.0.100-preview.7.24407.12/

.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.

Host:
  Version:      9.0.0-preview.7.24405.7
  Architecture: x64
  Commit:       static

.NET SDKs installed:
  7.0.410 [/usr/share/dotnet/sdk]
  8.0.401 [/usr/share/dotnet/sdk]
  9.0.100-preview.7.24407.12 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 7.0.20 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.8 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 9.0.0-preview.7.24406.2 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 7.0.20 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.8 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 9.0.0-preview.7.24405.7 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download
  • The IDE (VS / VS Code/ VS4Mac) you're running on, and its version: JetBrains Rider 2024.1.1, but these issues are seen when using the dotnet CLI.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions