BITE–Branch Info Team Explorer Extension

development
10154

Update 2013-08-30: The extension is now available for VS 2013.

Branching is something that you should definitely be doing if you’re a modern developer. It doesn’t matter if you have branch-per-release or dev-main-live kind of branching – you need to be able to separate development streams.

So let’s pick on the classic dev-main-live scenario. You create a solution in Visual Studio (in a MAIN folder), check it into Source Control in TFS and then create branches to DEV and LIVE. Now you have three versions of the same solution – one on each branch. I always recommend opening from Source Control so that you know which branch you’re on. However, if you’ve opened the solution and then been working for a while, you may want to double-check which branch you’re working from. Hmmm, you’re stuck – there’s no way to do this other than checking the folder path for the solution.

Enter BITE

Wouldn’t it be cool if you could instantly see which branch your solution is on? And how about selecting one of the other branches and clicking a “Switch” button to switch to the same solution on another branch? Now you can – using BITE – the Branch Info Team Explorer Extension! (Yes, I know it’s cheesy, but I couldn’t help it once I’d seen the acronym).

Once you’ve installed the extension from the VS Gallery, you’ll see a new Link under the Pending Changes section:

image

Click on “Branch Info” to see the extension in action.

image

Here I’ve opened a solution on the MAIN branch (see the Current Branch label). I can see both the local and server paths for the solution. Also, there’s a drop-down labelled “Other Branches”. If I select one of the other branches, I can click the “Switch” button and the corresponding solution opens.

Let me know if you have any issues using this extension. (In case you missed the link, get the extension from the VS Gallery).

Happy branching!