簡體   English   中英

Xamarin Google Drive API

[英]xamarin google drive API

我正在嘗試設置我的第一個Google Drive應用程序。 我已經寫了在VS2015上編譯的C#代碼,並且像魅力一樣工作。 但是,當我使用相同的代碼在xamarin上運行它時。 它不允許我,並在此聲明中一直說缺少名稱空間或引用

ServiceAccountCredential credential = new ServiceAccountCredential (new ServiceAccountCredential.Initializer (serviceaccount) {
                Scopes = scopes
            }.FromCertificate (certificate));

我已經安裝了最新的NuGet軟件包Google.APis.Drive.V2版本。 1.9.2.193有什么建議嗎?

最后,我意識到通過NuGet進行的以下安裝未引用此程序集:Google.Apis.PlatformServices.dll

我不知道為什么...但是現在可以了。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM