vscode-csharp: Red OmniSharp flame icon in status bar with "OmniSharp process errored:" tooltip (1.16.1)
Environment data
dotnet --info
output:
.NET Core SDK (reflecting any global.json):
Version: 2.1.402
Commit: 3599f217f4
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.13
OS Platform: Darwin
RID: osx.10.13-x64
Base Path: /usr/local/share/dotnet/sdk/2.1.402/
Host (useful for support):
Version: 2.1.4
Commit: 85255dde3e
.NET Core SDKs installed:
2.1.402 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
VS Code version: 1.27.1 C# Extension version: 1.16.1
Steps to reproduce
- Create a new project:
dotnet new console
- Open containing folder with Visual Studio Code
- Observe that the OmniSharp Log appears in the OUTPUT pane and focuses itself automatically (happens every time I open a C# project since 1.16.0)
- Observe that the OmniSharp flame icon in the taskbar is red instead of green
- Mouse over the icon and observe “OmniSharp process errored:” tooltip
- Observe that there are no errors in the output from step 3
Expected behavior
The extension should load normally without opening the OUTPUT pane in VS Code. The OmniSharp flame icon should be green as it was prior to version 1.16.0.
Actual behavior

Upon loading a C# project, the OUTPUT pane opens up with the message (this is with log level set to “debug”; usually I have it set to “critical” and it still focuses itself upon opening a project):
Starting OmniSharp server at 9/12/2018, 9:19:49 PM
Target: /Users/zach/Desktop/OmniTest
OmniSharp server started with Mono 5.14.0.
Path: /Users/zach/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/OmniSharp.exe
PID: 62698
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on MacOS 10.13.6 (x64)
[info]: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 2 MSBuild instance(s)
1: Mono 15.0 - "/usr/local/Cellar/mono/5.14.0.177/lib/mono/msbuild/15.0/bin"
2: StandAlone 15.0 - "/Users/zach/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/msbuild/15.0/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: Mono 15.0 - "/usr/local/Cellar/mono/5.14.0.177/lib/mono/msbuild/15.0/bin"
CscToolPath = /Users/zach/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/msbuild/15.0/Bin/Roslyn
CscToolExe = csc.exe
[info]: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in '/Users/zach/Desktop/OmniTest'.
[info]: OmniSharp.Cake.CakeProjectSystem
Could not find any Cake files
[info]: OmniSharp.WorkspaceInitializer
Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
[info]: OmniSharp.MSBuild.ProjectSystem
No solution files found in '/Users/zach/Desktop/OmniTest'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for '/Users/zach/Desktop/OmniTest/OmniTest.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in '/Users/zach/Desktop/OmniTest'.
[info]: OmniSharp.Script.ScriptProjectSystem
Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.WorkspaceInitializer
Configuration finished.
[info]: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location '/Users/zach/Desktop/OmniTest' on host 62678.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: /Users/zach/Desktop/OmniTest/OmniTest.csproj
[info]: OmniSharp.MSBuild.ProjectManager
Successfully loaded project file '/Users/zach/Desktop/OmniTest/OmniTest.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Adding project '/Users/zach/Desktop/OmniTest/OmniTest.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Update project: OmniTest
and the OmniSharp flame icon in the status bar is red. The plugin features generally seem to work fine, though.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 15
- Comments: 19 (5 by maintainers)
Commits related to this issue
- PR 2540: Remove the bom from the data This cherry-picks PR 2540 from master. Details of the change: Fixes: #2521 We were getting the red flame because of a mono behavior, where if we set the encodi... — committed to gregg-miskelly/vscode-csharp by akshita31 6 years ago
- PR 2540: Remove the bom from the data This cherry-picks PR 2540 from master. Details of the change: Fixes: #2521 We were getting the red flame because of a mono behavior, where if we set the encodi... — committed to gregg-miskelly/vscode-csharp by akshita31 6 years ago
Most upvoted comments
❤️
@akshita31
+4
estebanrao on Sep 20, 2018