WindowsAzure.Storage nuget包安装问题

时间:2017-10-05 17:02:47

标签: dll dependencies nuget azure-storage nuget-package

当我尝试通过nuget安装WindowsAzure.Storage时(使用此处的命令:https://www.nuget.org/packages/WindowsAzure.Storage/

  

Install-Package WindowsAzure.Storage -Version 8.4.0

我收到以下错误。

  

Install-Package:无法找到包PlTagHelpers。源中没有包含此ID的包:C:\ Program   Files \ dotnet \ sdk \ NuGetFallbackFolder,Microsoft Visual Studio脱机包,nuget.org   在行:1个字符:1   + Install-Package WindowsAzure.Storage -Version 8.4.0   + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~       + CategoryInfo:NotSpecified:(:) [Install-Package],Exception       + FullyQualifiedErrorId:NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCom      普通话

Install-Package:无法找到包PlStorage。源中没有包含此ID的包:C:\ Program Files \ dotnet \ sdk \ NuGetFallbackFolder,Microsoft Visual Studio脱机包,nuget.org 在行:1个字符:1 + Install-Package WindowsAzure.Storage -Version 8.4.0 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~     + CategoryInfo:NotSpecified:(:) [Install-Package],Exception     + FullyQualifiedErrorId:NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCom    普通话

Install-Package:无法找到包PlBlobLibrary。源中没有包含此ID的包:C:\ Program Files \ dotnet \ sdk \ NuGetFallbackFolder,Microsoft Visual Studio脱机包,nuget.org 在行:1个字符:1 + Install-Package WindowsAzure.Storage -Version 8.4.0 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~     + CategoryInfo:NotSpecified:(:) [Install-Package],Exception     + FullyQualifiedErrorId:NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCom    普通话

Install-Package:程序包还原失败。回滚'Heartland'的包装更改。 在行:1个字符:1 + Install-Package WindowsAzure.Storage -Version 8.4.0 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~     + CategoryInfo:NotSpecified:(:) [Install-Package],Exception     + FullyQualifiedErrorId:NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCom    要求

1 个答案:

答案 0 :(得分:0)

  

无法找到包PlTagHelpers。源中没有包含此ID的包:C:\ Program Files \ dotnet \ sdk \ NuGetFallbackFolder,Microsoft Visual Studio Offline

根据您的例外情况,我假设当您尝试安装WindowsAzure.Storage时选择了包源[{1}},请尝试选择包源 nuget.org 全部然后它应该有用。

enter image description here

enter image description here

我们还需要注意SDK依赖关系,更多详情请参阅WindowsAzure.Storage