How do i get current Branch path from Source control explorer using VS package
问题 I have created VS extension that creates a menu command on Source control explorer by right click on that it open custom form,Now i want to display current TFS path(from where user right click) in that custom form.Same as TFS "Branching and Merging => Branch" Source Path. Any help Appreciate. 回答1: You can use the VersionControlExplorerExt object with its properties SelectedItems, CurrentFolderItem, etc. From a package it would be something like: private void MenuItemCallback(object sender,