Google calendar api download Nuget Error

穿精又带淫゛_ 提交于 2019-12-13 04:41:40

问题


Hi I'm trying to download the Google Calendar v3 API from nuget. When I type "Install-Package Google.Apis.Calendar.v3 -Pre" into the Package Manager console in Visual Studio 2010, I get this error:

PM> Install-Package Google.Apis.Calendar.v3 -Pre
Install-Package : A parameter cannot be found that matches parameter name 'Pre'.
At line:1 char:45
+ Install-Package Google.Apis.Calendar.v3 -Pre <<<< 
+ CategoryInfo          : InvalidArgument: (:) [Install-Package], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,NuGet.PowerShell.Commands.InstallPackageCommand

Not Sure where I went wrong. I'm pretty sure that is exactly what they tell you to do on NuGet's website. Any help would be appreciated.

Thanks.


回答1:


could you please try with the latest NuGet from http://docs.nuget.org/docs/start-here/installing-nuget? it does not repro for me.

also, which project type are you trying to install the package to?



来源:https://stackoverflow.com/questions/21220912/google-calendar-api-download-nuget-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!