You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated to PSReadlLine 2.2.0-beta2 but on my system, it has some serious perf issues and when I start an admin Windows Terminal, none of my history is available. So I want to downgrade to beta1. I can remove beta2 but my first attempt to install beta1 failed:
> Find-PSResource psreadline -Prerelease -Version 2.2.0-beta1 | Install-PSResource
Install-PSResource: Unable to cast object of type 'System.Version' to type 'NuGet.Versioning.NuGetVersion'.
Seems like that should work. I did get the following to work:
Just a note for when I investigate this: if I have a non-prerelease version also installed, running his command removes that other version while also not installing the downgraded version.
This works now and will be resolved by PR #523 to be released in 3.0.12 preview release soon. You still can't install two versions side by side which have the same powershell version part (i.e 2.2.0-beta1 and 2.2.0-beta2 and 2.2.0 all have the same powershell version part. But downgrading should work:
I updated to PSReadlLine 2.2.0-beta2 but on my system, it has some serious perf issues and when I start an admin Windows Terminal, none of my history is available. So I want to downgrade to beta1. I can remove beta2 but my first attempt to install beta1 failed:
Seems like that should work. I did get the following to work:
Which makes the
find | install
failure that much more puzzling.The text was updated successfully, but these errors were encountered: