[ERROR] Error: OmniSharp server load timed out.
See original GitHub issueEnvironment data
.NET Command Line Tools (2.0.0-preview1-005977)
Product Information:
Version: 2.0.0-preview1-005977
Commit SHA-1 hash: 414cab8a0b
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64
Base Path: /usr/local/share/dotnet/sdk/2.0.0-preview1-005977/
Microsoft .NET Core Shared Framework Host
Version : 2.0.0-preview1-002111-00
Build : 1ff021936263d492539399688f46fd3827169983
VS Code version: 1.13.1 (1.13.1)
C# Extension version: 1.11.0-beta4 (or 1.10.0 - tried both)
Steps to reproduce
Just start vscode in 6/21/2017 morning (maybe vscode automatically installed any updates. I’m not sure)
Expected behavior
Start omnisharp, working intellisence, “go to definiton”, etc.
Actual behavior
[ERROR] Error: OmniSharp server load timed out. Use the ‘omnisharp.projectLoadTimeout’ setting to override the default delay (one minute).
Starting OmniSharp server at 6/23/2017, 11:10:44 AM
Target: /Users/petrtomasek/Projects/CestujnakoleNew
OmniSharp server started wth Mono
Path: /Users/petrtomasek/.vscode/extensions/ms-vscode.csharp-1.11.0-beta4/bin/run
PID: 5164
OmniSharp: -s /Users/petrtomasek/Projects/CestujnakoleNew --hostPID 5046 --stdio DotNet:enablePackageRestore=false --encoding utf-8 --loglevel information formattingOptions:useTabs=false formattingOptions:tabSize=4 formattingOptions:indentationSize=4
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Startup","Message":"Omnisharp server running using Stdio at location '/Users/petrtomasek/Projects/CestujnakoleNew' on host 5046."},"Seq":1,"Type":"event"}
[info]: OmniSharp.DotNet.DotNetProjectSystem
Initializing in /Users/petrtomasek/Projects/CestujnakoleNew
[info]: OmniSharp.DotNet.DotNetProjectSystem
Auto package restore: False
[info]: OmniSharp.DotNet.DotNetProjectSystem
Update workspace context
[info]: OmniSharp.DotNet.DotNetProjectSystem
Resolving projects references
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
MSBUILD_EXE_PATH environment variable set to /Users/petrtomasek/.vscode/extensions/ms-vscode.csharp-1.11.0-beta4/bin/omnisharp/msbuild/MSBuild.dll
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
MSBuildExtensionsPath environment variable set to /Users/petrtomasek/.vscode/extensions/ms-vscode.csharp-1.11.0-beta4/bin/omnisharp/msbuild
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
MSBuild will use local OmniSharp installation.
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
No solution files found in '/Users/petrtomasek/Projects/CestujnakoleNew'
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
Loading project: /Users/petrtomasek/Projects/CestujnakoleNew/CestujnakoleNew.csproj
Discovered Mono file path: /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono
Resolved symbolic link for Mono file path: /Library/Frameworks/Mono.framework/Versions/5.0.1/bin/mono-sgen32
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
The same problem with release versions of CLI (1.0.4) Can you help me, what is wrong? Thank you very much, for your time.
Issue Analytics
- State:
- Created 6 years ago
- Comments:25 (6 by maintainers)
Top Results From Across the Web
MacOS OmniSharp and vscode timeout errror - Stack Overflow
0/bin/mono-sgen64 [ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay ( ...
Read more >OmniSharp not loading : r/VisualStudioCode - Reddit
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
Read more >Vscode omnisharp autocomplete isn't working - Unity Forum
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
Read more >ひかえん2の日記
Starting OmniSharp server at 1/13/2020, 1:57:42 PM Target: ... [ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.
Read more >Visual Studio Code OmniSharp Server load time out - MSDN
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
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
I’ve also been getting this error and have been disabling OmniSharp > reload vscode > enable OmniSharp > reload vscode and it works again.
I’ll be working on improving the start up performance/experience of the OmniSharp server soon. In the meantime, you can set the ‘omnisharp.projectLoadTimeout’ setting in VS Code as the error says to do. By default, this is set to 60 and increasing it can help.