Category Archives: 8967

Video: From Continuous Integration to Continuous Feedback using Microsoft Visual Studio Team Foundation Server 2012

TEE2013

Content abstract:

We all know that listening to our customers and getting early feedback is very important. This talk focuses on how this can be achieved in the real world with the ultimate goal: to ship software that delight our customers!

This session focuses on the front end of continuous delivery: using PowerPoint Storyboarding to communicate ideas and prevent misunderstandings, managing requirements and priorities using a transparent product backlog, and integrating stakeholder feedback using Microsoft Feedback Client, all while getting rapid feedback throughout the entire process.

Link: to video

Continuous Value Delivery at Microsoft TechEd Europe 2013

TechEd Europe 2013

Here are the sessions that relate to “shorter cycle times” and continuous delivery of value:

… and some related sessions (which I referred to):

See and possibly unlock files checked out by other team members

Ed Hintz points out that this is easily done with TFS Power Tools and wrote about it in 2007.

  1. In the Source Control Explorer, right click on a parent folder that contains the pending change and choose, “Find in Source Control”.
  2. Choose "Status…".

    Find in Source Control command from TFS power tools
  3. Press the Find button. (optionally you can type in a user and\or wildcards if you want to narrow the search)

    Optionally filter for user and/or wildcards
  4. You will be presented a “Find in Source Control” window.
  5. Select the pending change and press the undo button OR right click Undo…

    Can easily undo changes of other users
  6. Done.

Customizing the folders and file extensions automatically excluded

When adding items to source control a list of excluded folders as well as file extensions is shown. You can customize those defaults in the registry.

image

Matthew Mitrik has the details:

If the add operation is successfully completed, the list will be saved to the registry.

Order of finding masks to filter:

  1. HKCU\Software\Microsoft\VisualStudio\[Version]\TeamFoundation\SourceControl\AddOptions\ExcludeMasks
  2. HKLM\Software\Microsoft\VisualStudio\[Version]\TeamFoundation\SourceControl\AddOptions\ExcludeMasks

(Thanks to Rich and Matt)

Recommendations for Virus Scanning on TFS computers

AV software can slow down your Team Foundation Server installation Anti-virus software can badly impact the performance of your Team Foundation Server. Therefore make sure the following folders are excluded from scanning for viruses:

  • TFS Version Control Cache Folder
  • Team System Web Access Cache Folder
  • SQL database folders
  • SQL backup folders

Additionally Microsoft published virus scanning recommendations for:

(Thanks to Wes to pointing me at those three articles.)

Setting Remaining Work to Zero when closing a work item in TFS

Question:

How can I make sure that the "Remaining Work" field is set to 0 when the work item is closed (for example when associating a work item during checking-in)?

Short Answer:

You can achieve this using the <COPY> rule on the transition to the "Closed" state.

Step-by-Step instructions:

  1. For the desired transition (in this example from "Active" to "Closed").

    Edit the Workflow Transition with Process Template Editor (part of TFS Power Tools)

  2. Add a field reference to "Microsoft.VSTS.Scheduling.RemainingWork"

    Choose the desired field 
  3. Add a new rule of type "COPY"

    You can use the copy rule to set values
  4. Choose From = "value" and enter value = "0"

    The copy rule sets a value to a field
  5. The resulting XML should look something like

     XML under the covers defines our new rule
  6. Verification: After transitioning a task work item from "Active" to the "Closed" state "Remaining Work" is set to zero.

    Work Item History shows the new rule in beeing applied on the state transition.