我想在Google Apps上创建联系人。 我用这API尽管使用“Google.GData.Contacts”,但“名称空间名称”联系人“不存在”出错?
并参考this link
在下面的代码我使用 “使用Google.GData.Contacts”:
using Google.GData.Contacts; // Using Google.GData.Contacts
using Google.GData.Client;
using Google.GData.Extensions;
using Google.Contacts; // at this place i am getting error
错误:类型或命名空间名称“联系人”在名称空间“Google”中不存在(您是否缺少程序集参考?)
我已经包含Google.GData.Contacts API。但它仍然给错误。
有谁能告诉我为什么会发生这种情况?我错过任何汇编参考?
我想用:
Contact newContact = new Contact();
newContact.Title.Text = "Liz Doe";
“联系” 不以 “Google.GData.Contacts” 或 “Google.GData” 的存在。 有没有其他方法可以使用它?
你正在编译使用Visual Studio?您已经添加了对Google.GData.Contacts.dll的引用,对吧? – Fakrudeen
雅..我已经添加了这个DDL。而且我也在编译代码。使用Visual Studio 2005 – Preeti
完整源代码示例的最终解决方案是如何工作的? – Kiquenet