Hello all,
I need to get the current selected (query) item in Team Explorer Window, VS2012.
I used to have this code working in VS2010 - see below - but since the IVsTeamExplorer interface is being deprecated in 2012, I can no longer use it:
IVsTeamExplorer teamExplorer = this.GetService(typeof(IVsTeamExplorer)) as IVsTeamExplorer;
teamExplorer.TeamExplorerWindow.GetCurrentSelection(out hier, out itemid, out dummy);
Does anyone familiar with getting the info in VS2012?
Many Thanks!