VSCode system.typeloadexception
See original GitHub issueIssue Type: Bug
Start Powershell Integrated Console. Results in: VSCode system.typeloadexception: could not load type ‘system.management.automation.subsystem.predictionresult’ from assembly…
Extension version: 2021.2.2 VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:13:13.157Z) OS version: Windows_NT x64 10.0.19042
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i5-5200U CPU @ 2.20GHz (4 x 2195) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 7.41GB (2.62GB free) |
Process Argv | –crash-reporter-id 6e23fc86-de8f-44cf-ae28-78c663b580ed |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspyt653:30270858
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt943cf:30300583
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158cf:30286554
vscgsv2ct:30307505
vscorehov:30309549
bridgeflight:30302069
vscod805:30301674
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Could not load type of field 'McMaster.Extensions ... - GitHub
Issue Description An error message when OmniSharp initializes on a newly created webapi project. Steps to Reproduce Create a webapi project and install ......
Read more >System.TypeLoadException when debugging ... - Stack Overflow
Try setting Omnisharp: Use Global Mono to never instead of auto in vscode. Worked for me.
Read more >System.TypeLoadException - Visual Studio Feedback
when i migrated form a windows laptop to a mac and try to use old projects in visual studio i encountered with this...
Read more >TypeLoadException in vscode - Ask - GameDev.tv Community
I'm running Unity 2020 with VSCode on Ubuntu 20.04. ... System.TypeLoadException: Could not find method '.ctor' due to a type load error: ...
Read more >System.TypeLoadException when debugging C# code in ...
[Solved]-System.TypeLoadException when debugging C# code in Vscode-C#. Search. score:4. Try setting Omnisharp: Use Global Mono to never instead of auto in ...
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
Thank you so much!!
Closing VSCode and then running
Install-Module -Name PSReadLine -RequiredVersion 2.1.0 -force
in a PS Terminal was the winning version that set it back.
-Erik
From: Andrew Schwartzmeyer @.> Sent: Tuesday, June 1, 2021 5:10 PM To: PowerShell/vscode-powershell @.> Cc: Big2thaE @.>; Mention @.> Subject: Re: [PowerShell/vscode-powershell] VSCode system.typeloadexception (#3385)
Going to leave this closed in favor of #3387https://github.com/PowerShell/vscode-powershell/issues/3387, the task to fix the build. The latest stable release is patched and only contains PSReadLine 2.1.0, effectively avoiding this problem.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/PowerShell/vscode-powershell/issues/3385#issuecomment-852497367, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIUZNZLXUZCJTPF6Z76DLMTTQVLEXANCNFSM453FYDGA.
Going to leave this closed in favor of #3387, the task to fix the build. The latest stable release is patched and only contains PSReadLine 2.1.0, effectively avoiding this problem.