Since you do not get the latest version by default when you check a file out of TFS, it is easy to forget and make changes to a version that is out of date. Most of the time it is just a matter of merging your changes when you check the file back into source control, but at other time it could be more difficult.
In order to avoid the situation I have changed my settings in Visual Studio to always get the latest version when opening a project or solution. This ensures that I always get the latest code changes that other developers have made. The setting to accomplish this is shown in the figure below.
