I am trying to install Microsoft.Data.Sqlite
with PowerShell\'s cmdLet install-package
:
$pkg = find-package -name Microsoft.Data.Sq
First I Install the latest Nuget provider running following command in an elevated PowerShell prompt:
Install-PackageProvider Nuget –force –verbose
I resolved the trouble with another package where I met the same trouble using -SkipDependencies
additional parameter :
Install-Package libphonenumber-csharp -Destination ".\NugetPackages" -Force -Source 'https://www.nuget.org/api/v2' -ProviderName NuGet -RequiredVersion '8.10.23' -SkipDependencies -ErrorAction SilentlyContinue
Then install-package works again for this package, I clearly don't understand why it suddendly stop working, but -SkipDependencies
is for me the answer to dependency loop.