PowerShell/PowerShell-RFC

PS 5.1 - Could not load file or assembly

Mettcon opened this issue · 1 comments

System

PSVersion 5.1.19631.1
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19631.1
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1


Error

This is just with Windows PowerShell. Could not replicate with 7.1.0-preview.3

Find-PSResource psreadline

Find-PSResource : Failed to fetch results from V2 feed at
'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='psreadline'&semVerLevel=2.0.0' with following message
: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
or one of its dependencies. The system cannot find the file specified.

Install-PSResource PSreadline

Install-PSResource : Could not load file or assembly 'System.Security.Principal.Windows, Version=4.1.1.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file
specified.

Please file this in the PowerShellGet repo instead. That module is not part of this repository. 🙂