Geeks With Blogs
Dennis Bottjer | MVP

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.   


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

Posted on Tuesday, April 14, 2009 5:36 AM TFS 2008 , Tips-n-Tricks | Back to top

Comments on this post: TFS 2008 Get Latest Automatically

# re: TFS 2008 Get Latest Automatically
Requesting Gravatar...
This has to be one of my biggest complaints with TFS. It makes the TFS experience so much better.
Left by chrisbarba on Apr 15, 2009 3:37 AM

# re: TFS 2008 Get Latest Automatically
Requesting Gravatar...
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"
Left by chrisbarba on Apr 21, 2009 1:54 PM

Your comment:
 (will show your gravatar)

Copyright © DennisBottjer | Powered by: