OS: Windows 8 Consumer Preview
IDE: Visual Studio 11 Beta
I am creating an empty application (Windows Metro style).
Add the Google Doc API sample code. (This is below)
This happens with a compilation error. ( Cannot find the type System.ComponentModel.ExpandableObjectConverter in the System.dll module )
But when I create a console application (Windows), there is no error compiling Error and Google Doc API.
Any ideas?
using System;
using Google.GData.Client;
using Google.GData.Documents;
namespace MyDocumentsListIntegration
{
class Program
{
static void Main(string[] args)
{
DocumentsService service = new DocumentsService("MyDocumentsListIntegration-v1");
DocumentsListQuery query = new DocumentsListQuery();
DocumentsFeed feed = service.Query(query);
foreach (DocumentEntry entry in feed.Entries)
{
Console.WriteLine(entry.Title.Text);
}
}
}
}
source
share