DiscUtils
DiscUtils copied to clipboard
Installation using the Install-Package command fails due to a dependency loop
When installing the package using the PowerShell "Install-Package" command, the following error occurs when installing the latest version. There seems to be a problem with the dependencies.
Install-Package Discutils -RequiredVersion 0.15.1-ci0002 -AllowPrereleaseVersions -Source https://www.nuget.org/api/v2
Install-Package : Dependency loop detected for package 'Discutils'.
+ CategoryInfo : Deadlock detected: (Discutils:String) [Install-Package], Exception + FullyQualifiedErrorId : DependencyLoopDetected,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
That's odd ... Can we identify why the loop occurs?.. I couldn't immediately see it in the error.
I couldn't explain it to myself either, unfortunately. My goal was to use the library in a PowerShell script. And I did not want to use the ancient version 0.11. By the way, this error only occurs with the newest versions. Version 0.11 can be installed without any problems.
Same here. I'm running Powershell 7.0.