Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

Access information of "Changeset Details" tool window of Visual Studio 2012

$
0
0

Greetings!

I am trying to add a menu item to the contextual menu of the "Changes" section of the tool window "Changeset Details". The menu item needs to have a list of selected files (in the "Changes" section).

I successfully added the menu item to the tool window "Pending Changes". This menu Item now also appears in "Changeset Details", which makes me think that both tools windows are the same.

The only problem is that it seems impossible to get the "Changes" items form the "PendingChangesExt" instance I retrieve from the tool window "Changeset Details". The available properties have no items in their collections (ExcludedChanges, IncludedChanges, Items, SelectedItems, etc...)

So, is there a way to get the list of items under "Changes"? The instance of "PendingChangesExt" is obtained from "VersionControlExt.PendingChanges". Is there another way I should be getting the instance?

Thanks!
J-R
=o)

P.S.: A little info on my setup

TFS 2010, Visual Studio 2012 Update 3, Windows 7, Physical computer.


Viewing all articles
Browse latest Browse all 6687

Trending Articles