Closed dy-nz closed 1 year ago
Hi @dy-nz thanks for opening this issue, I think the issue maybe that you need to use a v3 endpoint to interact with nuget...try setting the uri as "https://api.nuget.org/v3/index.json"
In other words run Set-PSResourceRepository nuget -uri "https://api.nuget.org/v3/index.json" -ApiVersion v3
Hi Sydney, thanks very much. Thought it might be the case but couldn't find documentation anywhere. Installing from nuget using Install-PSResource has thrown up two problems, which I've opened separate issues for. Looking forward to support for dependencies :-)
Thanks for the fantastic new solution. David
Prerequisites
Steps to reproduce
Hi, Using PWSH 7.3.6 on Windows Server 2019, Microsoft.PowerShell.PSResourceGet beta 23, and with the nuget Gallery Registered and Trusted using PWSH (nuget, https://www.nuget.org/api/v2), I have not been able to install any nuget package.
For example, the following command fails: Install-PSResource -Name itext -Scope AllUsers -Repository nuget
Thanks, David
Expected behavior
Actual behavior
Error details
Environment data
Visuals
No response