windows phone - Portable class library for Google Drive Api namespace referencing -
i developing windows phone application needs read google docs spreadsheets , came problem on first stemp. according accepted answer on this , this topics have created in portable class library
using google.gdata.spreadsheets; public void read() { spreadsheetsservice myservice = new spreadsheetsservice("service"); myservice.setusercredentials("username@provider.com", "password"); spreadsheetquery query = new spreadsheetquery(); spreadsheetfeed feed = myservice.query(query); foreach (spreadsheetentry entry in feed.entries) { } }
when trying build error:
the type or namespace name 'google' not found (are missing using directive or assembly reference?)
this windows phone 7.1 app , pcl setup .net 4+, silverlight 4+ windows phone 7.5+
any ideas?
pcl projects cannot use platform specific-libraries, can use other pcl libraries must support compatible platforms. while referencing may work in case can't use them.
read this more info.
however, since google data api open source project make pcl , take functionality need api , add pcl , use instead.
Comments
Post a Comment