c#: google drive : google apis.services are you missing an assembly or reference

江枫思渺然 提交于 2019-11-29 12:42:18
peleyal
  1. Try to run our Drive.Sample from our samples repository - https://code.google.com/p/google-api-dotnet-client/source/browse/?repo=samples#hg%2FDrive.Sample. You can see a working implementation there (it also includes media upload and download code).

  2. Try to start over again and install the following two packages (I'm not sure if you already did so): Google.Apis.Drive.v2 - https://www.nuget.org/packages/Google.Apis.Drive.v2/ Google.Apis.Authetnication - https://www.nuget.org/packages/Google.Apis.Authentication

UPDATE (January 22nd 2014):

We reimplemented the OAuth 2.0 library and removed the dependency in DotNetOpenAuth several months ago. You can read more about it in the announcements blog. Search specifically for the 1.6.0-beta release.

You should also take a look in our OAuth 2.0 page - https://code.google.com/p/google-api-dotnet-client/wiki/OAuth2.

Another good reference is our samples repository. All the samples had been upgraded to use the new Google.Apis.Auth package.

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