Simon Kiely
Simon Kiely

Reputation: 6050

Cannot seem to use TFS API, how to correctly import items from the SDK?

I am trying to write some simple code to connect to a TfsTeamProjectCollection, however, I continue to get the message :

"type or namespace name 'WorkItemStore'/'WorkItemCollection'/'TfsTeamProjectCollection'/'Project' could not be found."

I have tried to find the TFS SDK, and how to install it, but I can't seem to figure this out - I seem to be blind as this is definitely well documented somewhere. I believe I need to install some of these items, and then add them as references to my project? Could this be correct ? Which of these items do I need ?

Thanks very much, apologies for the silly question - I have recently given up coffee!

Upvotes: 2

Views: 1197

Answers (1)

Dylan Smith
Dylan Smith

Reputation: 22245

Try referencing the Microsoft.TeamFoundation.Client.dll

It is installed with Team Explorer.

Upvotes: 5

Related Questions