Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Visual Studio Extensibility (VSX) - Get the current branch name

$
0
0

I am developing a Visual Studio extension (VS Package).

I am trying to get the Source Control branch name for a project/solution.

The only source control service available in the VS SDK is SVsSccManager but that doesn't provide any means of retrieving the source control branch name.

Also looked at DTE.SourceControl but alas, it doesn't give branch info.

I really don't want to develop my own Source Control plug-in to simply retrieve the branch name (this feels like total overkill).

Is there any way of retrieving the current branch name in source control for a solution/project?

Thanx in advance.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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