vscode-csharp
vscode-csharp copied to clipboard
Server times out no matter how long I put (well only went to 10 minutes)
Issue Description
Omnisharp server fails to start timeout
Steps to Reproduce
just try starting the server
Expected Behavior
server would sart
Actual Behavior
Logs
OmniSharp log
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
C# log
Environment information
VSCode version: 1.68.1 C# Extension: 1.25.0
Dotnet Information
.NET SDK (reflecting any global.json): Version: 6.0.301 Commit: 43f9b18481Runtime Environment: OS Name: Windows OS Version: 10.0.22000 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\6.0.301\
Host (useful for support): Version: 6.0.6 Commit: 7cca709db2
.NET SDKs installed: 5.0.214 [C:\Program Files\dotnet\sdk] 6.0.301 [C:\Program Files\dotnet\sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-download
Visual Studio Code Extensions
| Extension | Author | Version |
|---|---|---|
| csharp | ms-dotnettools | 1.25.0 |
| remote-containers | ms-vscode-remote | 0.238.2 |
| vscode-docker | ms-azuretools | 1.22.0 |
I'm also having this issue. Did you manage to find a solution?
Not yet
I had the same issue; seems the problem is that OmniSharp is trying to execute \OmniSharp.dll If you go to settings Omnisharp:path and put the full path to OmniSharp.exe it works. In your example @jefflindholm it would be : ** c:\Users\jeff.vscode\extensions\ms-dotnettools.csharp-1.25.0-win32-x64.omnisharp\1.39.0-net6.0\OmniSharp.exe** So far its working for me, no idea how its going to handle an update
Similar problems reported on the following issues:
- #5330
- #5302