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.   

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

Posted on Tuesday, April 14, 2009 12:16 AM | Back to top


Comments on this post: TFS 2008 Get Latest Automatically

# re: TFS 2008 Get Latest Automatically
Requesting Gravatar...
Does this work with VS 2005 that connects to TFS 2008? I followed the same instructions above but did not find "Get Latest Version of item on check out" option.
Left by Emil on Aug 13, 2009 2:57 AM

Your comment:
 (will show your gravatar)


Copyright © DennisBottjer | Powered by: GeeksWithBlogs.net