Search code examples
c#emailgoogle-data-api

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


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?


Solution

  • You may be using Wrong version. use Version: 1.4.0.2.

    You will find it in Program Files Path