Closed VahidN closed 7 years ago
Can you add -AllowPreleaseVersions
? Pre-release versions are ignored in NuGetProvider by default. CoreCompat.System.Drawing only has pre-release versions available.
In the unlikely case that you need to ignore pre-release versions for most dependencies, I would run Install-Package -AllowPrereleaseVersions
for those specific packages that need it, then use Install-Package
normally for the package you actually want (e.g. iTextSharp.LGPLv2.Core).
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