Getting Error "Namespace Name "Contacts" Does Not Exists" in spite of using using "Google.GData.C

Posted by Pari on Stack Overflow See other posts from Stack Overflow or by Pari
Published on 2010-03-04T06:25:01Z Indexed on 2010/03/22 6:51 UTC
Read the original article Hit count: 463

Filed under:
|
|

I want to create Contact on Google Apps. I am Using this API

And referring this link

In below code i am using "Using 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

Error: The type or namespace name 'Contacts' does not exist in the namespace 'Google' (are you missing an assembly reference?)

I have included Google.GData.Contacts API. But still it is giving Error.

Can anyone tell me why this is happening? m i missing any Assembly reference?

I want to use:

Contact newContact = new Contact();
newContact.Title.Text = "Liz Doe";

"Contact" does not exist in Either "Google.GData.Contacts" or "Google.GData". Is there any other way to use it?

© Stack Overflow or respective owner

Related posts about c#

Related posts about email