2

ここから Microsoft.Experimental.IO ライブラリをインストールしようとしています: https://www.nuget.org/packages/Microsoft.Experimental.IO/1.0.0 Powershell - Install-Package を使用して Windows 10 に。

nuget.org リポジトリを追加しました。コマンド「find-package -contains experiment 」を使用すると、Powershellでパッケージが検出されますが、インストールしようとすると、次のエラーが表示されます。

install-package Microsoft.Experimental.IO -verbose
VERBOSE: Skipping package provider provider 'NuGet'-- missing required option 'Destination'
VERBOSE: Skipping package provider provider 'NuGet'-- missing required option 'Destination'
VERBOSE: The -Repository parameter was not specified.  PowerShellGet will use all of the registered repositories.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2/' and PackageManagementProvider is 'NuGet'.
install-package : No match was found for the specified search criteria and package name 'Microsoft.Experimental.IO'.
At line:1 char:1
+ install-package Microsoft.Experimental.IO -verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

この問題を解決してパッケージをインストールするにはどうすればよいですか?

4

1 に答える 1