Working with C# and Team Foundation Server
I am working on a webservice that will allow Microsoft CRM to create a workitem in TFS without having to use TFS interface. Everything is working smoothly except for one thing.
Is there a way to know in what TFS project a Contact is working with a Contact object? I can get a contact object from a guid using this line :
Contact contact = context.ContactSet.Where(x => x.Id == guid).FirstOrDefault();
where context is the actual XrmServiceContext and guid a specified contact Guid...
using the retrieved object, how can I get information about the TFS project in which the contact is working on? It can be the project name, a Project object, anything really. I'll figure the rest myself, I just need to find the relationship between Project and Contact.