I am working on a new Visual Studio extension and I've finished everything apart from one small problem. I've tried searching around for it. However all I've found is old documents and articles that are no longer working. Neither does Microsoft have any documentation on this subject.
I need the active GIT Repo that visual studio is currently using when you have selected it. So when I press my button it gets the active repo and executes.
I was looking into "Microsoft.TeamFoundationServer.Client" but I can't seem to find a way to get the url/active repo from there. So I assume is not that I have to use.
((The picture is GitHub, however the button have to function mainly in TFS, but I assume thats the same code))