.NET

TFS Work Item Visualizers

In my last post (Introduction to DotNet Pretty) I mentioned that I would be added more visualizers to DotNet Pretty soon :). Today I finally managed to get around to that and added some visualizers for TFS Work Items.

3 new visualizers were added 2 debugger display visualizers and 1 debugger visualizer. The first is for Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemType and just displays the Name of the Work Item Type:
 
 
 
 
eb0a9d5f-2890-498b-a1c0-2e80135bcfb3

The next  one added was for Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem and that displays the Status, Id and Title of a work item which is awesome for viewing the results of a query during debugging :).

cb3c239f-81cf-462f-8289-4a6376b1d4ee

Now having the above is very useful but drilling down into fields was a nightmare so I decided to create a nice visualizer for Work Item which would show you the work item on a form as it would be inside Visual Studio. You simple click the little arrow next to the value and then click on View Work Item:

dd2b31d7-274b-4ea4-bb6f-3fa825b2099e
and then you will notice that your life has just been changed :). Any links you click on from within this window will open in the web access and not in another dialog as you might expect.

454838e0-4adf-4081-9990-2113789a45d6

This work item will show as it is at the current point in the code to the best of the visualizers abilities :), in the case above I altered the title just before I opened the visualizer and it kept it’s new value as expected :)).

8d9125d8-44c4-44c4-a935-7f0a432c2ed4

I have tested this on both On Premise TFS and Online with VSO. The On Premise version did give an issue about COM which I’m hoping is just an issue on my machine/instance but will investigate anyway:

b96bc495-67a8-4848-9b07-573798b2457b

I know this is going to help me speed working with the TFS API and I’m hoping it’s useful to others as well :)).

Reference: TFS Work Item Visualizers from our NCG partner Gordon Beeming at the binary-stuff.com blog.

Gordon Beeming

Gordon is a Software Developer in Durban, South Africa working for Derivco. He is also a Visual Studio ALM Ranger and ALM MVP. Hew writes about anything that he feels might be useful to anyone in the community.

Related Articles

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
Back to top button