Dennis Bottjer | ASP.NET + SharePoint Architect, Trainer & Speaker

"An Ounce of Prevention is Worth a Pound of Cure" - Ben Franklin
posts - 168, comments - 59, trackbacks - 41

My Links

News

Add to Technorati Favorites The views expressed in this blog are mine and mine alone, not that of my employer, Microsoft, or anyone else’s. No warrantee is given for the quality of any material on this site.

Tag Cloud

Archives

Post Categories

TFS 2008 Get Latest Automatically

Issue: Ensure your code is the latest before a check out.

Not working with the latest code often creates a confusing situation for a developers trying to debug misbehaving code.  Furthermore, it becomes very important to get latest changes and merge differences when working on a project with many dependencies.   

Solution:

my friend and co-worker showed me how to automatically ensure getting latest upon checkout by performing the following steps:

  1. Launch Visual Studio 2008
  2. Click Tools->Options
  3. Expand the Source Control section
  4. Click on Visual Studio Team Foundation Server
  5. Ensure that the “Get Latest Version of item on check out” is checked.

Note: If a checkout is attempted, but the TFS has a newer version of the file being checked out, then the user is prompted to overwrite the file with the latest version.

Related: Exposing TFS 2008 Working Items

Print | posted on Tuesday, April 14, 2009 5:36 AM | Filed Under [ TFS 2008 Tips-n-Tricks ]

Feedback

Gravatar

# re: TFS 2008 Get Latest Automatically

This has to be one of my biggest complaints with TFS. It makes the TFS experience so much better.
4/15/2009 3:37 AM | chrisbarba
Gravatar

# re: TFS 2008 Get Latest Automatically

I have found that you can go the project in TFS and set this settings at the project level. So anyone who checks out a file TFS will automatically get latest.

Team -> Team Project Settings -> Source Control
Check the "Enable get latest on check-out"
4/21/2009 1:54 PM | chrisbarba
Comments have been closed on this topic.

Powered by: