Greetings to everyone!
I'm trying to access Git (on TFS) repository programmaticaly throught TFS API using following code:
GitRepositoryService grs = GetDefaultTeamProjectCollection().GetService<GitRepositoryService>(); var a = grs.QueryRepositories("KdlTest");
But I get error while quering repository:
Microsoft.VisualStudio.Services.WebApi.VssResourceNotFoundException: API resource location 225f7195-f9c7-4d14-ab28-a83f7ff77e1f is not registered onhttp://tfs.someurl.com:8080/tfs
TFS version is 2015. Git repository exists and developers are using it through VS. Connection to Team Project Collection goes fine.
I tried to find info about this error, but no luck :( Maybe some components are missing on my TFS, but I dont know which of them.
I even don't know what is "TFS API resouce".