В приложении Windows Metro Style произошла ошибка с библиотекой API данных Google
ОС: Windows 8 Consumer Preview
IDE: Visual Studio 11 Beta
Я создаю пустое приложение (стиль Windows Metro).
И добавьте пример кода Google Doc API. (Это ниже)
Это происходит ошибка компиляции. (Cannot find type System.ComponentModel.ExpandableObjectConverter in module System.dll)
Но когда я создаю консольное приложение (Windows), не возникает ошибка компиляции и Google Doc API работает нормально.
Есть идеи?
<code>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"); // TODO: Authorize the service object for a specific user (see Authorizing requests) // Instantiate a DocumentsListQuery object to retrieve documents. DocumentsListQuery query = new DocumentsListQuery(); // Make a request to the API and get all documents. DocumentsFeed feed = service.Query(query); // Iterate through all of the documents returned foreach (DocumentEntry entry in feed.Entries) { // Print the title of this document to the screen Console.WriteLine(entry.Title.Text); } } } } </code>