private void OpenSourceControlExplorerExecute()
{
// Using HACK.
// Get any service which contain DTE object.
var s = ServiceProvider.GetService<SVsSourceControl>() as SourceControl2;
if (s != null)
{
dynamic ext = s.DTE.GetObject("Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlExt");
if (ext != null)
{
var explorer = ext.Explorer;
if (explorer != null)
{
explorer.Navigate(SelectedBranch.TargetPath);
}
}
}
}