1.6.0: Extension host terminated unexpectedly. Please reload the window to recover.
See original GitHub issueEnvironment 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:
[INFORMATION:OmniSharp#MSBuild] MSBUILD_EXE_PATH environment variable set to /Users/tverboon/.vscode/extensions/ms-vscode.csharp-1.6.0/bin/omnisharp/msbuild/MSBuild.dll
[INFORMATION:OmniSharp#MSBuild] MSBuildExtensionsPath environment variable set to /Users/tverboon/.vscode/extensions/ms-vscode.csharp-1.6.0/bin/omnisharp/msbuild
[INFORMATION:OmniSharp#MSBuild] MSBuildSDKsPath environment variable set to /Users/tverboon/.vscode/extensions/ms-vscode.csharp-1.6.0/bin/omnisharp/msbuild/Sdks
[INFORMATION:OmniSharp#MSBuild] No solution files found in '/Users/tverboon/Desktop/Code/Midmid'
[INFORMATION:OmniSharp.Script.ScriptProjectSystem] Detecting CSX files in '/Users/tverboon/Desktop/Code/Midmid'.
[INFORMATION:OmniSharp.Script.ScriptProjectSystem] Could not find any CSX files
[INFORMATION:OmniSharp.Startup] Configuration finished.
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.
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (7 by maintainers)
Top GitHub Comments
I found the problem. some settings corrupted in this direction : C:\Program Files (x86)\Microsoft VS Code Insiders\resources\app\extensions Remove all folders and restart vs-code to fix it !!
Hi to all. I have same problem
Version 1.11.0-insider Commit 207686d256dafb78b247357ad8b96a95218a22a5 Date 2017-03-17T08:14:15.805Z Shell 1.4.6 Renderer 53.0.2785.143 Node 6.5.0 Windows 10 Enterprise Last build and update
this problem occurs when i install C# extension. when i remove this extension every think ok !