0 Pluspunkte 0 Minuspunkte

Wenn ich versuche das EPPlus Package zu installieren

Install-Package -Name EPPlus

kommt die Fehlermeldung

PS C:\WINDOWS\system32> Install-Package -Name EPPlus
WARNUNG: 'EPPlus' matched package 'EPPlus/7.2.2' from provider: 'NuGet', source 'Nuget API v2'.
WARNUNG: 'EPPlus' matched package 'EPPlus/7.2.2' from provider: 'NuGet', source 'GrapeCity'.
Install-Package : Unable to install, multiple packages matched 'EPPlus'. Please specify a single -Source.
In Zeile:1 Zeichen:1
+ Install-Package -Name EPPlus
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
    + FullyQualifiedErrorId : DisambiguateForInstall,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

Wie installiere ich dieses Paket in Powershell 7?

bezieht sich auf eine Antwort auf: xlsx Blatt aus Arbeitsmappe entfernen mit Powershell
von  

1 Antwort

0 Pluspunkte 0 Minuspunkte

Du kannst die Quelle explizit angeben.

Install-Package -Name EPPlus -Source "Nuget API v2"

von (532 Punkte)