Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Running" forever for folder with multiple .NET Core projects #735

Closed
renkun-ken opened this issue Aug 30, 2016 · 0 comments
Closed

"Running" forever for folder with multiple .NET Core projects #735

renkun-ken opened this issue Aug 30, 2016 · 0 comments
Milestone

Comments

@renkun-ken
Copy link

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-preview2-003121)                                                                                                                        

Product Information:                                                                                                                                                   
 Version:            1.0.0-preview2-003121                                                                                                                             
 Commit SHA-1 hash:  1e9d529bc5                                                                                                                                        

Runtime Environment:                                                                                                                                                   
 OS Name:     ubuntu                                                                                                                                                   
 OS Version:  16.04                                                                                                                                                    
 OS Platform: Linux                                                                                                                                                    
 RID:         ubuntu.16.04-x64

VS Code version: 1.4.0
C# Extension version: 1.4.0

I'm working in a folder where there are 3 .NET core projects, one shared library and two netcoreapp1.0. There are about 10-15 .cs files in each project. No project has warnings or errors.

When I'm editing in VSCode, the right-bottom corner shows the status of OmniSharp. When I choose a project, it works perfect. But when I choose the top level folder, the status shows "Running" forever and the log is:

Starting OmniSharp server at 8/30/2016, 5:50:05 PM
    Target: /home/renkun/Workspaces/monotrader

OmniSharp server started
    Path: /home/renkun/.vscode/extensions/ms-vscode.csharp-1.4.0/out/.omnisharp-coreclr/OmniSharp
    PID: 13597

OmniSharp: -s /home/renkun/Workspaces/monotrader --hostPID 10424 DotNet:enablePackageRestore=false --encoding utf-8 --stdio
[INFORMATION:OmniSharp.Startup] Omnisharp server running using Stdio at location '/home/renkun/Workspaces/monotrader' on host 10424.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Initializing in /home/renkun/Workspaces/monotrader
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Auto package restore: False
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update workspace context
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Resolving projects references
[INFORMATION:OmniSharp#MSBuild] No solution files found in '/home/renkun/Workspaces/monotrader'
[INFORMATION:OmniSharp.Startup] Configuration finished.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /projects: 200 44ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /currentfilemembersastree: 200 12ms

And it looks like OmniSharp is stuck at /projects or /currentfilemembersastree forever. No idea what causes this.

But when I create a fresh folder with multiple simple projects, there's no problem at all.

eamodio pushed a commit to eamodio/omnisharp-vscode that referenced this issue Sep 10, 2016
…re projects

Also stops multiple duplicate requests from hitting server within a short window
DustinCampbell added a commit that referenced this issue Sep 13, 2016
Fixes #735 - "Running" forever for folder with multiple .NET Core projects
@DustinCampbell DustinCampbell added this to the 1.5 milestone Sep 13, 2016
DustinCampbell referenced this issue Sep 19, 2016
Replaces full lodash with lodash.debounce
DustinCampbell referenced this issue Sep 19, 2016
Fixes the incorrect lodash.debounce import/require
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants