Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS 2010 : how to retrieve a deleted file?

How can I retrieve a deleted file in TFS 2010?

I had a Visual Studio 2010 project checked into TFS. I deleted a file locally (.edmx). Now, I want to retrieve that file.

like image 840
Attilah Avatar asked Aug 01 '11 15:08

Attilah


People also ask

How do I recover a deleted file in TFS?

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.

Where do Visual Studio deleted files go?

Restore items deleted from Visual Studio Files deleted through Solution Explorer are moved to the Recycle Bin on your computer, where they can be restored.

How do I recover a deleted project in Visual Studio?

To recover a deleted file or project: In Visual SourceSafe Explorer, on the File menu, click Properties. Click the Deleted Items tab. Select the file(s) or project that you want to recover. Click Recover.

Does team save deleted?

Any member of the Teams channel can recover content from the SharePoint bin. Any other member of the same SharePoint file will have the same view. This means you can recover files deleted by other users – and they can recover files you've deleted.


1 Answers

If the file still exists in TFS, then you locate the file and do Get Latest. This will bring the file back to your local machine.

EDIT

Maybe this link will help you:

How to retrieve a deleted file in TFS

like image 172
Neil Knight Avatar answered Oct 26 '22 23:10

Neil Knight