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

OSX + Unity = 0 projects #835

Closed
jvlppm opened this issue Oct 24, 2016 · 4 comments
Closed

OSX + Unity = 0 projects #835

jvlppm opened this issue Oct 24, 2016 · 4 comments

Comments

@jvlppm
Copy link

jvlppm commented Oct 24, 2016

I'm using vscode-insiders, with omnisharp-vscode at origin/master ( 034fa7b ) 1.5-beta4 + 2

When loading a Unity project I'm receiving the '0 projects' status again (even though this was fixed a while ago).

The project is loaded normally, and errors in my code are marked with squiggles, but a few seconds later, the project unloads, errors disappear, and it shows 0 projects at status bar.

screen shot 2016-10-24 at 10 47 28

## Environment data

dotnet --info output:

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

Product Information:
Version: 1.0.0-preview2-003148
Commit SHA-1 hash: 18ca244551

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.11-x64

VS Code version:
C# Extension version:

Steps to reproduce

Open a Unity project

Expected behavior

OmniSharp status as Running.

Actual behavior

OmniSharp status as '0 projects'.

OmniSharp Log

Starting OmniSharp server at 10/24/2016, 10:53:36 AM
Target: /Users/joao/Projects/PetitFabrik/asset-bundles-demo/asset-bundles-demo.sln

OmniSharp server started wth Mono
Path: /Users/joao/.vscode-insiders/extensions/ms-vscode.csharp-dev/out/src/.omnisharp-mono/OmniSharp.exe
PID: 3507

OmniSharp: -s /Users/joao/Projects/PetitFabrik/asset-bundles-demo/asset-bundles-demo.sln --hostPID 3480 DotNet:enablePackageRestore=false --encoding utf-8 --stdio
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Startup","Message":"Omnisharp server running using Stdio at location '/Users/joao/Projects/PetitFabrik/asset-bundles-demo' on host 3480."},"Seq":1,"Type":"event"}
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Initializing in /Users/joao/Projects/PetitFabrik/asset-bundles-demo
[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] Detecting projects in '/Users/joao/Projects/PetitFabrik/asset-bundles-demo/asset-bundles-demo.sln'.
[INFORMATION:OmniSharp#MSBuild] Loading project from '/Users/joao/Projects/PetitFabrik/asset-bundles-demo/Assembly-CSharp.csproj'.
[INFORMATION:OmniSharp#MSBuild] Loading project from '/Users/joao/Projects/PetitFabrik/asset-bundles-demo/Assembly-CSharp-Editor-firstpass.csproj'.
[INFORMATION:OmniSharp#MSBuild] Loading project from '/Users/joao/Projects/PetitFabrik/asset-bundles-demo/Assembly-CSharp-Editor.csproj'.
[INFORMATION:OmniSharp.ScriptCs.ScriptCsProjectSystem] Detecting CSX files in '/Users/joao/Projects/PetitFabrik/asset-bundles-demo'.
[INFORMATION:OmniSharp.ScriptCs.ScriptCsProjectSystem] Could not find any CSX files
[INFORMATION:OmniSharp.Startup] Configuration finished.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /projects: 200 71ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /filesChanged: 200 13ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /projects: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /filesChanged: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /currentfilemembersastree: 200 471ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 843ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 93ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /projects: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 70ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /codecheck: 200 695ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 3ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 4ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 115ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 2ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 6ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 261ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 640ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 101ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 3ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /currentfilemembersastree: 200 4ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 6ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 2ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 6ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 5ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /codecheck: 200 1ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 3ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 1ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /codecheck: 200 35ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 11ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 1ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 220ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 3ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /currentfilemembersastree: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /codecheck: 200 1ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 1ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 3ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 534ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 5ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 7ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /codecheck: 200 35ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 4ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 1ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /findusages: 200 3ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 200 0ms

@greay
Copy link

greay commented Feb 2, 2017

still a problem in 1.9.0

@DustinCampbell
Copy link
Member

@greay: The version of Visual Studio Code wouldn't positively impact this. It is the C# for VS Code extension.

@rchande
Copy link

rchande commented Jun 13, 2018

@jvlppm @greay Can you try again with the latest build of the C# for VS Code extension (1.15) and file new issues if you're still having problems?

@rchande rchande closed this as completed Jun 13, 2018
@jvlppm
Copy link
Author

jvlppm commented Jun 15, 2018

It is working properly, thanks.

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

4 participants