`dotnet workload restore` has odd logging and ignores logging switches
- 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.