I have accidentally removed part of my project thinking that I was in a temp folder. It is an asp.net-mvc 4 application.
I don´t have tfs or any other program monitoring my filesystem.
I had just publish my application. All I have left is a bunch of compiled files, js, css and images.
Is there any tool from Microsoft that I could perform a reverse engineering with or does VS2012 keep track of files so I could restore it.
First go to Recycle Bin of your local machine. Your VS code deleted files is there in Recycle Bin. So, Right click on deleted files and select-> Restore option then your deleted files will be automatically restored in your VS code.
Step 1 Right-click on the Recycle Bin from your desktop. Step 2 Click on 'Properties' and then choose the drive for which you want to delete the data permanently. Step 3 After selecting the drive, mark the option called 'Don't move files to the Recycle Bin. Remove files immediately when deleted'.
Use the tf destroy command to destroy, or permanently delete, version-controlled files from Team Foundation version control. The destroy action cannot be reversed. You must not destroy files that are still needed.
Files you delete in Visual Studio go to Windows recycle bin. Unless you cleared it, your files should still be there. Just restore them and than add them to your project as existing items. You can also drag and drop them through Solution Explorer.
EDIT:
You can also click the "Show All Files" button in solution explorer.
The file will appear there, grayed out (if it was only removed from your project - not your disk drive). Then you can right-click it, and add it back to the ptoject. If it's not there try the first approach.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With