Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

Error while quering Git repository: API resource location is not registered on...

$
0
0

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".


Viewing all articles
Browse latest Browse all 6687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>