dotnet / dotnet/sdk

`dotnet workload restore` has odd logging and ignores logging switches

Open
#42,485 3 comments 0 reactions 0 assignees View on GitHub
Area-Workloads
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

`dotnet workload restore` is a real oddball. Besides being uniquely able to repro such bugs as dotnet/msbuild#10468, it has an odd console logging style, and it ignores the `-bl` switch.

## Repro

### Works
`dotnet workload restore`

### Fails

`dotnet workload restore -bl`

> Couldn't find a project. Ensure that a project exists in C:\Users\andarno\source\repos\Library.Template\azure-pipelines, or pass the path to the project using --project.

### Ignores switch

`dotnet workload restore -bl .\dirs.proj`

The added `dirs.proj` argument gets the command to run, but it ignores the `-bl` switch: no msbuild.binlog file is created.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.