question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

1.6.0: Extension host terminated unexpectedly. Please reload the window to recover.

See original GitHub issue

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:

[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:closed
  • Created 7 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mehran-mousavicommented, Mar 21, 2017

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 !!

0reactions
mehran-mousavicommented, Mar 21, 2017

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 !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error : Extension host terminated unexpectedly in VS Code
The solution for the problem : Open your vscode and launch the command palette by ctrl + shift + p enter image description...
Read more >
Fix VS Code Error - Extension host terminated unexpectedly
Error: Extension host terminated unexpectedly. Please reload the window to recover. To troubleShoot, go to Help > Toggle Developer Tools.
Read more >
Anyone else repeatedly getting the error "Remote Extension ...
Anyone else repeatedly getting the error "Remote Extension host terminated unexpectedly 3 times within the last 5 minutes" (rendering VS Code ...
Read more >
3. Resolved and Known Issues Red Hat JBoss Enterprise ...
In JBoss EAP 6, transaction recovery operates by asking resources for their view of in-doubt transaction branches using "RecoveryHelpers" provided by other ...
Read more >
Visual Studio 2019 version 16.0 Release Notes | Microsoft Learn
To download the latest release, please visit the Visual Studio site. ... restoring of your project hierarchy state and tool window state.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found