Archive

Posts Tagged ‘File Recovery’

How to Recover Deleted TFS Files and Folders

March 3rd, 2010 2 comments

I recently went in search for a “how to” regarding file and folder recovery in Microsoft Team Foundation Server.  One of our project files was corrupted and removed its reference to an ascx file, but left the .cs and .designer.cs files behind; ultimately breaking the build on our continuous integration server.  Google doth continue to rock.  I quickly found a solution.   It’s relatively easy:

  1. In Visual Studio, click on Tools -> Options -> (make sure the “show all items” check box is checked) -> Source Control -> Visual Studio Team Foundation Server
  2. Check the “Show deleted items in the Source Control Explorer” check box
  3. Click “OK”
  4. In Team Explorer, open Source Control
  5. Then just right-click and click “Undelete” -> sooooo not a real word

Enjoy!