VS2013 - Nuget - 安装Google.Apis.Datastore.v1beta2会出错

时间:2014-01-31 16:09:14

标签: .net visual-studio google-api nuget google-api-dotnet-client

和平在你身上,

我有VS2013 Ultimate,我尝试使用包管理器控制台使用此命令安装Google.Apis.Datastore.v1beta2 here

Install-Package Google.Apis.Datastore.v1beta2 -Pre

我得到了这些结果:

Attempting to resolve dependency 'Google.Apis (≥ 1.7.0-beta)'.
Attempting to resolve dependency 'Google.Apis.Core (≥ 1.7.0-beta)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 5.0.5)'.
Attempting to resolve dependency 'Microsoft.Bcl (≥ 1.0.19)'.
Attempting to resolve dependency 'Microsoft.Bcl.Build (≥ 1.0.4)'.
Attempting to resolve dependency 'Microsoft.Bcl.Async (≥ 1.0.16)'.
Attempting to resolve dependency 'Microsoft.Net.Http (≥ 2.1.10)'.
Attempting to resolve dependency 'Zlib.Portable (≥ 1.9.2)'.
Attempting to resolve dependency 'log4net (≥ 2.0.0)'.
Install-Package : The remote server returned an error: (404) Not Found.
At line:1 char:1
+ Install-Package Google.Apis.Datastore.v1beta2 -Pre
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], WebException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

它似乎是log4net包,虽然我是单独安装的!

1 个答案:

答案 0 :(得分:0)

不是log4net。看起来像goget.apis.datastore.v1beta2.1.7.0.7在nuget上不可用:

https://az320820.vo.msecnd.net/packages/google.apis.datastore.v1beta2.1.7.0.7-beta.nupkg抛出404指定的blob不存在,因此它看起来像nuget网站上的问题。您应该将其报告给包裹所有者或nuget团队。