Error: "command '' not found" when clicking on "Downloading Packages..." in status bar
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 737
- Avg merge
- 18h 40m
- Merged PRs (30d)
- 31
Description
## Issue Description ##
## Steps to Reproduce ##
- Open a fresh c# project
- Wait for the status bar to show "Downloading Packages..."
- Click on the "Downloading Packages" in the status bar
- Note the error shown (see screenshot below)

## Expected Behavior ##
I want to be taken to the output logs so I can follow progress.
## Actual Behavior ##
Error is shown.
## Suggested Fix ##
See:
https://github.com/OmniSharp/omnisharp-vscode/blob/d1785942e51f3afee1d8e62b406ee46b35168c63/src/observers/OmnisharpStatusBarObserver.ts#L38-L40
Perhaps that the command should just be `o.showOutput` instead of ''?
## Logs ##
### OmniSharp log ###
```console
Starting OmniSharp server at 06/12/2021, 08:32:32
Target: /Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI.sln
OmniSharp server started with Mono 6.12.0.
Path: /Users/REDACTED/.vscode/extensions/ms-dotnettools.csharp-1.23.17/.omnisharp/1.37.18-beta.87/omnisharp/OmniSharp.exe
PID: 63276
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on MacOS 11.6 (x64)
[info]: OmniSharp.Services.DotNetCliService
Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK
[info]: OmniSharp.Services.DotNetCliService
Using the 'dotnet' on the PATH.
[info]: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 2 MSBuild instance(s)
1: Mono 16.10.1 - "/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin"
2: StandAlone 17.0.0 - "/Users/REDACTED/.vscode/extensions/ms-dotnettools.csharp-1.23.17/.omnisharp/1.37.18-beta.87/omnisharp/.msbuild/Current/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: Mono 16.10.1 - "/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin"
CscToolExe = csc.exe
CscToolPath = /Users/REDACTED/.vscode/extensions/ms-dotnettools.csharp-1.23.17/.omnisharp/1.37.18-beta.87/omnisharp/.msbuild/Current/Bin/Roslyn
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI'.
[info]: OmniSharp.Cake.CakeProjectSystem
Did not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
Detecting projects in '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI/REDACTED.WebAPI.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI.Tests/REDACTED.WebAPI.Tests.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI.SdkClient/REDACTED.WebAPI.SdkClient.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI'.
[info]: OmniSharp.Script.ScriptProjectSystem
Did not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
Configuration finished.
[info]: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI' on host 62816.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: /Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI/REDACTED.WebAPI.csproj
[info]: OmniSharp.MSBuild.ProjectManager
Successfully loaded project file '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI/REDACTED.WebAPI.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Adding project '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI/REDACTED.WebAPI.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: /Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI.Tests/REDACTED.WebAPI.Tests.csproj
[info]: OmniSharp.MSBuild.ProjectManager
Successfully loaded project file '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI.Tests/REDACTED.WebAPI.Tests.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Adding project '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI.Tests/REDACTED.WebAPI.Tests.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: /Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI.SdkClient/REDACTED.WebAPI.SdkClient.csproj
[info]: OmniSharp.MSBuild.ProjectManager
Successfully loaded project file '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI.SdkClient/REDACTED.WebAPI.SdkClient.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Adding project '/Users/REDACTED/Projects/REDACTED/REDACTED.WebAPI/REDACTED.WebAPI.SdkClient/REDACTED.WebAPI.SdkClient.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Update project: REDACTED.WebAPI
[info]: OmniSharp.MSBuild.ProjectManager
Update project: REDACTED.WebAPI.Tests
[info]: OmniSharp.MSBuild.ProjectManager
Update project: REDACTED.WebAPI.SdkClient
[info]: OmniSharp.Roslyn.CSharp.Services.Diagnostics.CSharpDiagnosticWorkerWithAnalyzers
Solution initialized -> queue all documents for code analysis. Initial document count: 34.
```
### C# log ###
```console
Getting latest OmniSharp version information
Downloading package 'Latest OmniSharp Version Information' (1 KB).................... Done!
Installing OmniSharp Version = 1.37.18-beta.87...
Platform: darwin, arm64
Downloading package 'OmniSharp for OSX, Version = 1.37.18-beta.87' (40396 KB).................... Done!
Installing package 'OmniSharp for OSX, Version = 1.37.18-beta.87'
Finished
```
## Environment information ##
**VSCode version**: 1.62.3
**C# Extension**: 1.23.17
Mono Information
OmniSharp using global mono :6.12.0
Dotnet Information
.NET SDK (reflecting any global.json):
Version: 6.0.100
Commit: 9e8b04bbff
Runtime Environment:
OS Name: Mac OS X
OS Version: 11.6
OS Platform: Darwin
RID: osx.11.0-arm64
Base Path: /usr/local/share/dotnet/sdk/6.0.100/
Host (useful for support):
Version: 6.0.0
Commit: 4822e3c3aa
.NET SDKs installed:
6.0.100 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
Visual Studio Code Extensions
|Extension|Author|Version|
|---|---|---|
|azure-account|ms-vscode|0.9.11|
|azure-pipelines|ms-azure-devops|1.195.0|
|bash-debug|rogalmic|0.3.9|
|bats|jetmartin|0.1.8|
|code-spell-checker|streetsidesoftware|2.0.13|
|cpptools|ms-vscode|1.7.1|
|csharp|ms-dotnettools|1.23.17|
|debugger-for-chrome|msjsdiag|4.13.0|
|dotenv|mikestead|1.0.1|
|dotnet|leo-labs|1.3.0|
|dotnet-test-explorer|formulahendry|0.7.7|
|EditorConfig|EditorConfig|0.16.4|
|eta-vscode|shadowtime2000|1.0.0|
|gitlens|eamodio|11.7.0|
|hadolint|exiasr|1.1.0|
|java|redhat|1.1.0|
|nugetpackagemanagergui|aliasadidev|1.1.9|
|path-autocomplete|ionutvmi|1.17.1|
|playwright|ms-playwright|0.0.9|
|polacode-fixed-edition|mrrefactoring|0.3.6|
|postcss|csstools|1.0.9|
|powershell|ms-vscode|2021.10.2|
|prettier-vscode|esbenp|9.0.0|
|python|ms-python|2021.11.1422169775|
|remotehub|GitHub|0.18.0|
|richard-willis-extension-pack|richardwillis|1.3.44|
|shell-format|foxundermoon|7.2.2|
|shellcheck|timonwong|0.18.2|
|vscode-docker|ms-azuretools|1.18.0|
|vscode-elixir|mjmcloug|1.1.0|
|vscode-eslint|dbaeumer|2.2.2|
|vscode-gradle|vscjava|3.8.4|
|vscode-java-debug|vscjava|0.37.0|
|vscode-java-dependency|vscjava|0.18.8|
|vscode-java-pack|vscjava|0.19.0|
|vscode-java-test|vscjava|0.33.0|
|vscode-markdownlint|DavidAnson|0.45.0|
|vscode-maven|vscjava|0.34.1|
|vscode-proto3|zxh404|0.5.5|
|vscode-pylance|ms-python|2021.12.0|
|vscode-spotless-gradle|richardwillis|1.1.8|
|vscode-styled-components|jpoissonnier|1.6.6|
|vscode-xml|redhat|0.18.1|
|vscode-yaml|redhat|1.2.2|;
Contributor guide
Assessment
This issue has not been assessed yet.