-
Notifications
You must be signed in to change notification settings - Fork 676
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
1.6.0: Extension host terminated unexpectedly. Please reload the window to recover. #1074
Comments
Same, with similar environment.
VS Code version: 1.8.1 Appears to be after project selection that it crashes. |
Same, in win 7 environment.
VS Code version: 1.8.1 This happens every time I select a *.cs file |
That sounds pretty terrible, and I haven't seen it before. One idea I have is that a previous version of the extension did not uninstall cleanly. Try this:
After re-installing, if the issue still occurs select "Help -> Toggle Developer Tools" and choose the "Console" tab. Let me know what you see in that tab. |
Hi, I reinstalled the extensions, opened a C# file and the issue happened again. This is the last part of the console log.
|
That's very helpful -- thanks! It looks like it's failing in this code. Could you provide the text of your project's |
Hi. This is the content in my tasks.json. It was added by vscode.
|
I think I see the problem. Please delete the comments and try again. |
Problem solved. It was the comments in tasks.json |
Great! I'll code up a solution and release an update to the extension later today. |
That was quick! Removing the comments fixed it for me too. 👍 |
Glad to hear it. Working on a fix... 😄 |
OK. I've merged the fix for this in our release branch. We'll release 1.6.1 later today with this fix. Thanks to everyone for your help! |
The 1.6.1 release is on the marketplace with this fixed. Thanks again! |
Hi to all. I have same problem Version 1.11.0-insider this problem occurs when i install C# extension. when i remove this extension every think ok ! |
I found the problem. some settings corrupted in this direction : |
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: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64
VS Code version:
1.8.1
C# Extension version:
1.6.0
Steps to reproduce
Open a C# file. Omnisharp is starting up and when it's almost finished: "Extension host terminated unexpectedly. Please reload the window to recover."
Expected behavior
No crash and a working C# environment. I don't see an exception in the Omnisharp log. It ends with:
Actual behavior
"Extension host terminated unexpectedly. Please reload the window to recover." And C# is not working.
Extra info:
I did some extra testing as I had to reinstall the previous version. For me the extension causes a crash in 1.6-beta7. 1.6-beta6 and before are working.
The text was updated successfully, but these errors were encountered: