I'm trying to get test plans by using TFS API.
TfsTeamProjectCollection tfs = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri("http://xxxxxxx:8080/tfs/DefaultCollection"));
var service = (ITestManagementService)tfs.GetService(typeof(ITestManagementService));
The variable "service" always returns null.
Do you have any idea, why?