1
我正在開發一個Windows Phone應用程序,它需要讀取Google文檔電子表格並在第一個stemp中遇到問題。據對this和this話題我已經創建了這樣的事情在便攜式類庫接受的答案Google Drive Api命名空間引用的便攜式類庫
using Google.GData.Spreadsheets;
public void Read()
{
SpreadsheetsService myService = new SpreadsheetsService("service");
myService.setUserCredentials("[email protected]", "password");
SpreadsheetQuery query = new SpreadsheetQuery();
SpreadsheetFeed feed = myService.Query(query);
foreach (SpreadsheetEntry entry in feed.Entries)
{
}
}
當試圖建立它,我得到這個錯誤:
The type or namespace name 'Google' could not be found
(are you missing a using directive or an assembly reference?)
這是一款Windows Phone 7.1應用程序和PCL設置爲.Net 4+,Silverlight 4+ windows phone 7.5+
任何想法?