Google Nugetパッケージ(Google.Apis.Drive.v3)のDriveServiceを使用する際に問題があります。BaseClientServiceにファイルの定義が含まれていません
私はこのエラーを取得する:
Severity Code Description Project File Line Suppression State Error CS1061 'BaseClientService' does not contain a definition for 'Files' and no extension method 'Files' accepting a first argument of type 'BaseClientService' could be found (are you missing a using directive or an assembly reference?) Sampleproject.Web C:\sample\Sampleproject.Web\Controllers\DriveController.cs 117 Active
私は公式ドキュメントからのガイドの部品を使用しています:https://developers.google.com/drive/v3/web/quickstart/dotnet#step_1_turn_on_the_api_name
は当初、私はそれがちょうど "usings" だと思いました私は行方不明だったが、私はそれがどのように/私の方法を把握しているように見えることはできません。
編集:
そして、私のusercredentialsは次のようになります。
チェックの更新は、APIバージョンを選択し、両方を使用しないようにしたいかもしれません。 – DaImTo