How to get the changes back after clicking “Undo pending changes…” in Visual Studio 2013 and TFS

tfsvisual-studio-2013

Using Visual Studio 2013 and TFS I did a lot of work before checking in. Then I accidentally clicked undo pending changes… thinking it would only apply to one of the projects in my solution. Unfortunately it was applied to all projects. How can I get my changes back?

This question has been asked before link. One person suggested using Reflector to copy the dll. I downloaded Reflector, but I'm unsure how to use it. How would I use Reflector to get my changes back.

Best Answer

Just for your help. As per stackoverflow's questions link shared. He is trying to say that if you have not build your project. You can open last built dll in Reflector and see the code of the files and recover the code.

You can use any took like Reflector or dotpeek from JetBrains.

Visit this link to know more about dotpeek

But if you have build your project after performing Undo Pending changes then as per my knowledge it is impossible to get the code.

Related Topic