Steve Lange @ Work

Steve Lange's thoughts on application lifecycle management, Visual Studio, and Team Foundation Server

July, 2012

  • Steve Lange @ Work

    VS/TFS 2012 Tidbits: Requesting a Code Review on Code Already Checked in


    As the Visual Studio family of products (Visual Studio, TFS, Test Professional) nears its 2012 release, I thought I’d bring some short hits – tidbits, if you will – to my blog. Some of these are pretty obvious (well-documented, or much-discussed), but some may be less obvious than you’d think. Either way, it’s always good to make sure the word is getting out there. Hope you enjoy!

    Requesting a Code Review on Code Already Checked in

    There’s been great hype about the new built-in code review capabilities in TFS 2012, and for good reason. The process is easy, effective, and most of all, audited.


    But did you know that “My Work” is not the only place from where you can kick of a code review?  You can also do a review on code that’s already been checked in. Go to the file in Source Control Explorer, then view its history. In the History window, right-click on the changeset/revision and select “Request Review”.


    This will load up the New Code Review form in Team Explorer:


    Notice that it not only brings in the files from the changeset (5 of them, in this example), but also any work items that were related to this changeset as well.  The check-in comments are used to populate the title of the code review, as well as the optional description.

    Off ya go!

  • Steve Lange @ Work

    VS/TFS 2012 Tidbits: Merging Changes by Work Item


    As the Visual Studio family of products (Visual Studio, TFS, Test Professional) nears its 2012 release, I thought I’d bring some short hits – tidbits, if you will – to my blog. Some of these are pretty obvious (well-documented, or much-discussed), but some may be less obvious than you’d think. Either way, it’s always good to make sure the word is getting out there. Hope you enjoy!

    Merging Changes by Work Item

    This is something that existed in VS 2010, but it wasn’t talked about as much.  While it’s pretty straightforward to track changes merged across branches by changeset, sometimes it’s even more effective to track merges by work item (i.e. show me where changes associated with a work item have been merged/pushed to other branches).

    Let’s catch up. Consider the relatively simple branch hierarchy below:


    A work item has been assigned to Julia, Task #80.


    Julia makes some code changes, and checks in against (linking to) the work item (Task #80).

    She checks in 2 individual changes to create links to 2 discrete changesets from the task.

    Now, it’s easy to go ahead and track an individual changeset by selecting the option from the History window.


    That’s all well and good, but if I didn’t know the exact changeset ID (#17), or if there was more than one changeset in associated with the task, this tracking process becomes less effective.

    What Julia can do is right-click on the work item and select “Track Work Item”.    (Note that this option will be disabled if there are no changesets linked to the work item.)


    She can also click the “Track Work Item” button at the top of the work item form:


    I get a much clearer picture now of all the work and where it’s been applied, and the “Tracking” visualization will now include all changesets (in my case, 2 changesets) in the window.

    Now I know exactly what changes to merge.  I merge them, and now I can see that the entire work item has been merged to Main from Dev (i.e. both changesets were merged).


    And just as effectively, I can see these changes in the Timeline Tracking view:


    So that’s it! Tracking by work items are pretty easy to do, and paint a much clearer picture of how a change from a work item perspective can, or has been, applied across branches.

    Again, I know this isn’t exactly a new feature, but there are a lot of people out there who are looking for ways to “merge by work item” and aren’t aware of this feature.

  • Steve Lange @ Work

    VS/TFS 2012 Tidbits: Agile Planning - Drag & Drop to Assign Sprints


    As the Visual Studio family of products (Visual Studio, TFS, Test Professional) nears its 2012 release, I thought I’d bring some short hits – tidbits, if you will – to my blog.  Some of these are pretty obvious (well-documented, or much-discussed), but some may be less obvious than you’d think.  Either way, it’s always good to make sure the word is getting out there.  Hope you enjoy!

    Agile Planning: Drag & Drop to Assign Sprints

    TFS 2012 places a greater emphasis on “agile” planning, enabling teams to more readily plan, monitor and augment their iteration assignments.  Regardless of the methodology used (Scrum, Agile, CMMI, or your own), this tool “just works” to help you in the planning process.

    One new, and welcome, addition to TFS 2012 is the added support of start and end dates on iterations.  This allows you to simplify the process of building iteration-specific queries, and provides better insight as to what sprint a team is currently working on.

    To assign a work item (PBI, task, bug, whatever) to an iteration in the past, you had to open its dialog, set the correct iteration path value, and save it. Not a big deal, but excessive if you need to assign several work items in a single planning session.

    Fast-forward to TFS 2012.  When viewing your product backlog (however you have defined a “product backlog”) in the new TFS Web Access (which looks WAY cooler than the WA of old, right?) interface, you’ll see all your sprints/iterations listed on the left.  To assign a backlog item (in this case) to a sprint, you can instead drag the work item from the backlog to the sprint you want to put it in.  In the below screenshot, I’m dragging the second backlog item (“The calculator should perform division”) to Sprint 4.  The new web access client automatically updates the work item accordingly.  Done!

    Assigning a PBI to a sprint via drag and drop

    Assigning work items to iterations can be done pretty easily when looking at a work item query result as well.  If you’re in a view which doesn’t show the iterations to the left, for example, looking at “Assigned to me”, you can simply right-click on a work item and choose “Move to iteration –> <your iteration>”.  See the below screenshot of my doing exactly that.

    Moving a work item to a specific iteration

    Simple, yet effective!

  • Steve Lange @ Work

    Want More VS 2012 ALM Training? You Got It!


    VS_Purp526_rgbOur friends at Northwest Cadence are offering a FREE two-event series in August.  These online events cover four individual sessions:

    • Session 1: A Lap Around Visual Studio 2012
      An introduction to the major new features and improvements in Visual Studio 2012. Expect to see the new enhanced User Interface, Agile Planning Tools, Requirements Gathering Tool, Stakeholder Feedback Tool, Updates to the Developer and Tester Experience, Version Control Improvements, and DevOps Integration. The list goes on but the ride starts here, so buckle up and join us for this lap around Visual Studio 2012.
    • Session 2: Visual Studio 2012 for Agile Teams
      Getting the tool out of the way and letting you stay in the zone is a big part of Visual Studio 2012. Come experience the new developer experience and workflows for work items, version control, unit testing, and code reviews. Visualizing your current work and updating status is almost effortless, version control is much more flexible, continuous testing made possible by a new unit testing interface, and a true code review workflow is available for collaboration and feedback.
    • Session 3: Storyboarding and Feedback Manager
      Bringing people with the good ideas into the software development process! Storyboarding and Feedback Manager can dramatically improve the quality of your requirements, and provide the voice of the customer to your development team. Storyboarding allows you to leverage the familiar features of PowerPoint to drive a completely new requirements-gathering experience. Feedback Manager provides a clean, intuitive interface to provide video, voice and image feedback. Both allow for powerful interaction between stakeholders, business analysts, developers, and testers, smoothing out the handoffs to ensure continuous delivery of customer value.
    • Session 4: Leveraging your Microsoft and Northwest Cadence Benefits for Visual Studio 2012
      Join Northwest Cadence as we provide you with an overview of the three (3) DTDPS offerings. We will explain how to activate  and strategically utilize these benefits to enhance your software deployment planning. In addition, we will review how you can connect DTDPS to other Software Assurance benefits within your agreement to ensure you gain the highest return on your investment.

    To reserve your space in an upcoming series, please choose a date:

    For more information, please email

  • Steve Lange @ Work

    Additional VS 2012 ALM Webcasts by Imaginet


    Take a look at the below webcast series from Imaginet focusing on Visual Studio 2012 ALM.  If something looks good, don’t forget to sign up!

    “Imaginet is thrilled to provide you with exclusive invitations to our Summer Webcast Series. Over the last year, Microsoft has made some significant announcements that affect software developers, architects, information technology professionals, and businesses profoundly. This is your exclusive opportunity to gain incredible insights, learn new skills, and understand how to best leverage some incredible new technologies from Microsoft.
    Space is limited to 500 participants per webcast!”

    Requirements and Storyboarding with Visual Studio 2012

    The saying "a picture is worth a thousand words" is true for requirements. Many teams use mockups or storyboards to describe general application appearance and flow. This session will demonstrate new features in Visual Studio 2012 that support creating, presenting and maturing storyboards using tools you already know. And then we'll show how this process fits into the rest of your application's lifecycle. Come join us for this free Web Workshop!

    • July 31, 2012 - 1:00-2:30pm CT   Register (free)

    Scrum and Agile Management Using Visual Studio 2012

    Scrum and agile management methodologies focus on iterative planning, development and release. This session will demonstrate how agile planning, management and tracking are streamlined with Visual Studio 2012. Come join us for this free Web Workshop!

    • August 7, 2012 - 1:00-2:30pm CT   Register (free)
    • August 21, 2012 - 1:00-2:30pm CT Register (free)

    A Day in the Life: Developer Enhancements with Visual Studio 2012

    The next version of Visual Studio is rich with new tools that enhance standard developer activities. In this session we'll review and demonstrate some of these new features, such as Unit Testing, Code Reviews, Code Clones and other developer tools. Come join us for this free Web Workshop!

    • August 14, 2012 - 1:00-2:30pm CT   Register (free)
    • August 28, 2012 - 1:00-2:30pm CT   Register (free)

    For questions or more information on Imaginet's webcasts, please feel free to contact us at or by calling 1-800-989-6022.

  • Steve Lange @ Work

    Denver Event: SQL Server 2012 Breakthrough Insights


    Looking to go deep into SQL Server 2012’s BI capabilities? Then this event may be what you’re looking for!

    Date/Time: Friday, July 20, 2012, 09:30-2:00 PM Mountain

    SQL Server 2012 "Breakthrough Insights." This will be a "deep dive" into the SQL Server Business Intelligence model including PowerPivot, Power View and SharePoint integration. This will be taught by Microsoft's Ted Malone. Ted works with large Microsoft customers to help them engage with emerging technology to solve complex business problems. Ted also has extensive experience as a software architect designing and developing enterprise storage solutions for EMC. Don't miss this opportunity to learn from one of Microsoft's best.

    To register, go here:

Page 1 of 1 (6 items)