Red OmniSharp flame icon in status bar with "OmniSharp process errored:" tooltip (1.16.1)
See original GitHub issueEnvironment 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.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:15
- Comments:19 (5 by maintainers)
Top Results From Across the Web
VS code: tell omnisharp which project/solution to work on
Press Ctrl + Shift + P in VS Code. Type “OmniSharp: Select Project” and press Return. Select the top level sln or csproj....
Read more >NixOS - DistroWatch.com
NixOS is an independently developed GNU/Linux distribution that aims to improve the state of the art in system configuration management.
Read more >omnisharp-vscode - Discover .NET
What's new in 1.25.1 · Update Roslyn to 4.4. · Simplify some code (PR: omnisharp-roslyn#2370) · Return meaningful error when pinned SDK version...
Read more >[Solved] Problems with OmniSharp and Visual Studio Code
[WARNING:OmniSharp#MSBuild] Failed to process project file 'c:\Users\Tetriser\Documents\Unity\MagneticKart\Assembly-CSharp-Editor-firstpass.
Read more >Hidden features of OmniSharp and C# extension for VS Code
OmniSharp powers intellisense and language services in C# plugins and ... and renaming a method symbol can also rename its overloads.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
❤️ @akshita31
@argentini Can you file a new issue with the relevant information about your system and the project you are working with ?