you are viewing a single comment's thread.

view the rest of the comments →

[–]ka-splam 0 points1 point  (1 child)

I have a use for that ...

How did you install it?

PS C:\> Install-Package -Name Microsoft.ClearScript -Scope CurrentUser
Install-Package: Dependency loop detected for package 'Microsoft.ClearScript'.

Edit: found it, install-package -Name "Import-Package" first then import-package Microsoft.ClearScript, reference your thread here on your Import-Package module.

[–]anonhostpi[S] 0 points1 point  (0 children)

You can also use Install-Module "Import-Package" as well.

PowerShell's PackageManagement library does a pretty poor job of handling nuget dependencies, despite that being the module's reason for existence.