Skip to content

Can't downgrade prerelease version using find | install #348

@rkeithhill

Description

@rkeithhill

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:

Install-PSResource PSReadLine -Prerelease -Version 2.2.0-beta1

Which makes the find | install failure that much more puzzling.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions