Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Latest value = "Not Downloaded"

Tags:

I have several projects in TFS which visually appear in the directory hierarchy as grayed out. When I browse within the projects in Visual Studio 2010/Source Control/TFS 2010, I notice that all of their contents have a Latest value of "Not downloaded". Normally, I have only seen Latest values of "Yes" or "No".

  • I have tried all of the varieties of "Get latest" that I know, but I am always alerted that "All files are up to date".
  • If I try to "Check out for edit", I am not allowed.
  • When I observe the properties of these grayed out files, they always say Workspace Version = "Not applicable".

How do I fix TFS so that I can download and check out the projects again? My suspicion is that my workspace is messed up, but I do not know what to do to restore/reconfigure it.

like image 505
nairware Avatar asked Jan 29 '13 15:01

nairware


People also ask

How do I get the latest version of Visual Studio?

In the local toolbar of the File List, click , then select Get Latest Version (for selected files) or Project > Get Latest Version All (for all files in the project).

How do I undo the latest TFS?

If you have deleted files from your local directory and you then want those changes to appear on the server you need to go to the TFS director, select the files you want to delete, right click and delete the folders. Then you need to 'Check In' the pending deletion changes to the TFS server.


1 Answers

I was able to remap the directory to fix my issue. To do this, I

  • selected (right-clicked) the branch that included all of my code, and selected "Remove Mapping..."
  • renamed the folder I was mapped to within TFS (you can delete it as well, but I renamed just to keep it during this experimental process)
  • created a new folder with the original name of the branch I was mapped to in the beginning, and
  • selected (right-clicked) the branch that included all of my code, and selected "Map to Local Folder".

This process forces a complete re-download of the entire branch. Luckily for me, my branch was only 2GB, so I was able to re-download in about 5-10 minutes.

like image 105
nairware Avatar answered Sep 22 '22 12:09

nairware