I have been asked this question many times, the scenario is:
- Developer deletes a folder/branch/file etc.
- The developer checks in his changes
- The developer likes to see the deleted items to check there history for example
There are other scenarios that will require this functionality.
So how do we do it?
Step 1: Launch Visual Studio 2010 or Team Explorer 2010
Step 2: Click Tools –> Options
Step 3: Click Source Control
Step 4: Click “Visual Studio Team Foundation”
Step 5: Check the “Show deleted items in the Source Control Explorer” check box
Step 6: Click OK
The result is all the deleted files, folders, branches etc. are shown.