【发布时间】:2016-05-20 12:59:26
【问题描述】:
我在使用来自 google Nuget 包 (Google.Apis.Drive.v3) 的 DriveService 时遇到问题。
我收到此错误:
严重性代码描述项目文件行抑制状态 错误 CS1061“BaseClientService”不包含“Files”的定义,并且找不到接受“BaseClientService”类型的第一个参数的扩展方法“Files”(您是否缺少 using 指令或程序集引用?) Sampleproject.Web C :\sample\Sampleproject.Web\Controllers\DriveController.cs 117 活动
我正在使用官方文档中的部分指南:https://developers.google.com/drive/v3/web/quickstart/dotnet#step_1_turn_on_the_api_name
最初我认为这只是我缺少的“使用”,但我似乎无法弄清楚/谷歌我的方式。
编辑:
【问题讨论】:
标签: c# asp.net-web-api google-api google-drive-api google-api-dotnet-client