get the TFS connexion parameters in an AddIn for MSProject

V

Valery

HI,

I'm trying to get the TFS connexion properties in MSProject. My goal is to
avoid user to connect with the team menu and to ask same parameters to
realize the functionnalities in my AddIn.
My functionnalities need a connexion on a server to access workitems
contained in the MSProject project.
I searched in CustomDocumentProperties but didn't find anything about TFS
connexion parameters (server, project, user, domain, password)

My code is down:
Office.DocumentProperties properties =

(Office.DocumentProperties)Application.ActiveProject.CustomDocumentProperties;

for (int i = 1; i <= properties.Count; i++)
{
System.Diagnostics.Debug.Print(
properties.Name);
}

Thanks,

Valery
 
V

Valery

I progressed in my quest.

When file is saved after connecting to a TFS server, I find 22 properties in
my CustomDocumentProperties which are VS Team System Data DO NOT EDIT0 ....to
VS Team System Data DO NOT EDIT21.
This properties have string values that seems to be serialized object.
Does any now how to deserialize those objects??

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top