Integrated Console Hangs On Load
See original GitHub issueIssue Description
I recently upgraded from v2020.4.3 to v2020.6.0 and the console no longer loads at launch it just hangs.
Steps taken
- If I revert the back to v2020.4.3 the issue goes away.
- I have tried completely removing extension and reinstalling,
- I have tried disabling this version and installing the preview version v2020.9.0, results in the same hanging behaviour but it does produce this exception.
=====> PowerShell Preview Integrated Console v2020.9.0 <=====
Exception encountered starting EditorServices. Exception logged in D:\a\1\s\src\PowerShellEditorServices.Hosting\Commands\StartEditorServicesCommand.cs on line 248 in EndProcessing:
System.TypeLoadException: Method 'DisposeAsync' in type 'Microsoft.Extensions.DependencyInjection.ServiceProvider' from assembly 'Microsoft.Extensions.DependencyInjection, Version=3.1.8.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' does not have an implementation.
at OmniSharp.Extensions.LanguageServer.Server.LanguageServer..ctor(LanguageServerOptions options)
at OmniSharp.Extensions.LanguageServer.Server.LanguageServer.<From>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerShell.EditorServices.Server.PsesLanguageServer.<StartAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerShell.EditorServices.Hosting.EditorServicesRunner.<CreateEditorServicesAndRunUntilShutdown>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerShell.EditorServices.Commands.StartEditorServicesCommand.EndProcessing()
Attached Logs
1602679083-a6a6c747-6583-4c6f-8f66-0550151ba63b1602678259376.zip
Environment Information
Visual Studio Code
Name | Version |
---|---|
Operating System | Windows_NT x64 10.0.19041 |
VSCode | 1.49.3 |
PowerShell Extension Version | 2020.6.0 |
PowerShell Information
Name | Value |
---|---|
PSVersion | 5.1.19041.1 |
PSEdition | Desktop |
PSCompatibleVersions | 1.0 2.0 3.0 4.0 5.0 5.1.19041.1 |
BuildVersion | 10.0.19041.1 |
CLRVersion | 4.0.30319.42000 |
WSManStackVersion | 3.0 |
PSRemotingProtocolVersion | 2.3 |
SerializationVersion | 1.1.0.1 |
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
Extension | Author | Version |
---|---|---|
AWK | luggage66 | 0.0.2 |
bash-beautify | shakram02 | 0.1.1 |
bash-ide-vscode | mads-hartmann | 1.11.0 |
Bookmarks | alefragnani | 11.3.1 |
code-settings-sync | Shan | 3.4.3 |
cpptools | ms-vscode | 1.0.1 |
csharp | ms-dotnettools | 1.23.3 |
empty-indent | DmitryDorofeev | 0.2.0 |
gc-excelviewer | GrapeCity | 3.0.40 |
githistory | donjayamanne | 0.6.12 |
gitlens | eamodio | 10.2.2 |
html-css-class-completion | Zignd | 1.19.0 |
indentation-level-movement | kaiwood | 1.2.1 |
indenticator | SirTori | 0.7.0 |
mssql | ms-mssql | 1.9.0 |
path-intellisense | christian-kohler | 2.3.0 |
pgsql | doublefint | 0.1.3 |
powershell | ms-vscode | 2020.6.0 |
project-snippets | rebornix | 0.5.0 |
remote-wsl | ms-vscode-remote | 0.44.5 |
sqlops-debug | ms-mssql | 1.3.0 |
team | ms-vsts | 1.161.1 |
theme-atom-one-dark | andischerer | 0.0.1 |
Theme-Github | gerane | 0.0.6 |
vscode-awk-hint | hangxingliu | 0.0.2 |
vscode-dimmer | hoovercj | 2.1.0 |
vscode-input-sequence | tomoki1207 | 0.2.0 |
vscode-markdownlint | DavidAnson | 0.37.1 |
vscode-paste-and-indent | Rubymaniac | 0.0.8 |
vscode-settings-cycler | hoovercj | 1.0.1 |
vscode-simple-icons | LaurentTreguier | 1.13.5 |
vscode-todo-highlight | wayou | 1.0.4 |
vsliveshare | ms-vsliveshare | 1.0.2902 |
xml | DotJoshJohnson | 2.5.1 |
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
VSCode Powershell integrated terminal hangs when starting
It's possible it's getting stuck on something while loading your profile(s). Try adding this to your settings to skip this: "powershell.
Read more >powershell integrated console hanging on macos - Super User
Upgrading powershell 6.0.3 -> 6.2.4 solved the issue.
Read more >Group Policy Management Console crashes when you click ...
In the GPMC console, you click the target domain. In this situation, the GPMC console crashes. Resolution. To resolve this issue in Windows...
Read more >PowerCenter Integration Service in Admin Console hangs
When logging into the Admin Console and under Doman>Services and Nodes, I click the Integration Service. When doing so, it just hangs. It...
Read more >visual studio 2022 hangs randomly - Visual Studio Feedback
The only solution is to kill the task from Task Manager and restart and then it is ok again for a while. Attached...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
YES!
Solution: yum update powershell
Thank you very much.
My apologies for posting before trying to update.
@Garfius please try out the current PowerShell Preview extension and see if you get an error stack trace