TFS: Restore deleted folders and items
I deleted some files and some folders in TFS. Many check in's later I found out that I need the deleted functionality back in my project. How can I restore the deleted files and folders? In Team Explorer (in Visual Studio): Tools | Options | Source Control | Visual Studio Team Foundation Server and select Show Deleted Items... Then in source control explorer you'll see the items greyed out. You can right click on them and Undelete. (This option will only be available if they, after the undelete, will be included in your current workspace). NB. in newer versions of Visual Studio (eg. 2013)