-
Notifications
You must be signed in to change notification settings - Fork 677
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
"Some projects have trouble loading" constantly appears when there are no problems #707
Comments
I've seen the same thing -- especially for Unity projects. |
Any fix for this? |
It looks to me like this will be display for any project that contains warnings: https://github.com/OmniSharp/omnisharp-vscode/blob/d96fb0c6864b133a45f6a36bee5d45fc1885663d/src/features/status.ts#L236-L242 |
I am also experiencing this very frequently, and it keeps reappearing whenever I close it. Is there a keyboard shortcut to temporarily disable OmniSharp when this happens? |
I get this all the time too, and it's not only when project contains warnings. It seems like Omnisharp gets out of date with the reality of the project, and then starts to complain about false warnings. Most commonly, the warning is about Restarting Omnisharp always clears out these false warnings, but I'm having to restart Omnisharp once every 5-10 minutes now. There are no actual warnings or errors in my project, just these constant false hits. @jamesqo you can dismiss the error with escape, or restart Omnisharp with the command palette. |
Great to see this fixed now! @bbugh |
Awesome! Thanks so much for working on this @DustinCampbell. I hate to be the bearer of bad news, but the installation didn't quite work for me out of the box. When I installed v1.7.0-beta4.vsix, it seemed to properly download all of the libraries, which I've never seen before. However, when Omnisharp ran, it threw an exception looking for I was able to work around the problem by sym linking my global Mono package Here's what I did to work around it: » cd ~/.vscode/extensions/ms-vscode.csharp-1.7.0-beta4/bin
» ln -s /Library/Frameworks/Mono.framework/Versions/4.6.2/lib/mono/gac Here's the stack trace from the error:
|
I wouldn't symlink that folder. That could cause other problems down the road. However, it looks like this issue was already filed at #1192. I'll work on getting a repro and fixing this. |
check folder url from special characters like !@#$%^&*() and delete those characters |
Environment data
% dotnet --info
.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: Mac OS X
OS Version: 10.11
OS Platform: Darwin
RID: osx.10.11-x64
VS Code version: 1.4.0
C# Extension version: 1.3
Whenever I open VisualStudioCode, I get a warning message saying "some projects have trouble loading"
However, there are no issues apparent in the full output, and the plugin works correctly:
The text was updated successfully, but these errors were encountered: