Prerequisites
Exception report
Oops, something went wrong.
Please report this bug with ALL the details below, including both the 'Environment' and 'Exception' sections.
Please report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new?template=Bug_Report.md
Thank you!
### Environment
PSReadLine: 2.2.0-beta1
PowerShell: 7.2.0
OS: Microsoft Windows 10.0.22498
BufferWidth: 120
BufferHeight: 30
Last 0 Keys
Exception
System.TypeLoadException: Could not load type 'System.Management.Automation.Subsystem.PredictionResult' from assembly 'Microsoft.PowerShell.PSReadLine.Polyfiller, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
at Microsoft.PowerShell.PSConsoleReadLine.PredictionViewBase.Reset()
at Microsoft.PowerShell.PSConsoleReadLine.PredictionInlineView.Reset()
at Microsoft.PowerShell.PSConsoleReadLine.Prediction.Reset()
at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, EngineIntrinsics engineIntrinsics)
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
### Screenshot

### Environment data
```console
cannot complete. Neither pasting, nor trying to store as PS1 and executing produces any output except more exceptions.
Steps to reproduce
NB: I tried to repro on PSReadLine 2.1.0 but i cannot seem to downgrade from 2.2.0-beta1 (I don't know how i ended up with the beta version either).
- Upgrade to insider build 22498.rs_onecore_sigma_rd.211105-1700
- Start powershell
Expected behavior
nothing, just powershell prompt
Actual behavior
immediate exception, even though some commands can still be run (and seem to work), but output is spammed with exception reports.
Prerequisites
Exception report
Exception
Steps to reproduce
NB: I tried to repro on PSReadLine 2.1.0 but i cannot seem to downgrade from 2.2.0-beta1 (I don't know how i ended up with the beta version either).
Expected behavior
nothing, just powershell prompt
Actual behavior
immediate exception, even though some commands can still be run (and seem to work), but output is spammed with exception reports.