There is something you need to be aware of regarding the Get Latest feature in Visual Studio / Team Foundation Server: it doesn't detect local changes

For example, suppose you check a file into source control: 

8    

Then you modify the file without checking it out:

3 

 

When you return to Source Control Explorer,  it indicates you have the latest version even though the server version doesn't match the local version:

8 

 

Other source control products such as Source Gear Vault monitor the file system for changes and can detect when a file has been changed locally.  Vault calls a file that has been changed locally a renegade file.

SourceGear 

 

If you work exclusively in Visual Studio and can always check out the files you need to work with, you may never encounter this issue.  If, however, you work disconnected or want to test out something locally without locking files, you need to be aware of how TFS behaves. 

 

I can't stress the importance of this enough:  If you have local changes, Visual Studio will not pull down the latest copy from source control because it thinks it has the latest version already.  When you try to get the latest version from source control, you'll see this dialog:

5

 

When you want a mirror of source control locally, use the "Get Specific Version" feature instead.  Select "Latest Version" as the type, and check the option "Overwrite all files even if the local version matches the specified version":

6