VERBOSE: Using the provider 'NuGet' for searching packages.
VERBOSE: Searching repository 'https://www.nuget.org/api/v2/FindPackagesById()?id='iTextSharp.LGPLv2.Core'' for
''.
VERBOSE: Total package yield:'1' for the specified package 'iTextSharp.LGPLv2.Core'.
VERBOSE: Performing the operation "Install Package" on target "Package 'iTextSharp.LGPLv2.Core' version '1.2.4'
from 'nuget.org'.".
The package(s) come(s) from a package source that is not marked as trusted.
Are you sure you want to install software from 'nuget.org'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): y
VERBOSE: Searching repository 'https://www.nuget.org/api/v2/FindPackagesById()?id='iTextSharp.LGPLv2.Core'' for
''.
VERBOSE: Searching repository 'https://www.nuget.org/api/v2/FindPackagesById()?id='CoreCompat.System.Drawing''
for ''.
Install-Package : Unable to find dependent package(s) (CoreCompat.System.Drawing)
At line:1 char:2
+ Install-Package iTextSharp.LGPLv2.Core -ProviderName NuGet -Source h ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (CoreCompat.System.Drawing:String) [Install-Package], Exception
+ FullyQualifiedErrorId : UnableToFindDependencyPackage,Microsoft.PowerShell.PackageManagement.Cmdlets.Ins
tallPackage
I'm trying to install iTextSharp.LGPLv2.Core package using PowerShell with the following command:
But it can't find its dependent library
The dependent package is CoreCompat.System.Drawing.
My Environment