Reputation: 93
I recently switch from Visual Studio 2010 to Visual Studio 2012 and it seems that "Undo Pending Changes" may be broken in the Visual Studio Version 11.0.50727.1 RTMREL. I'm using TFS 2010. When I try to undo changes I get the error "There are no changes to undo in the selection or any children of the selection" and I can't revert back to my original code.
Has anyone else observed this problem or know of a work-around?
The exact steps are:
TextFile1.txt
for example, but it can be any type of file. You will see the message "Warning. There are no changes to undo in the selection or any children of the selection." OK/HELP. Pressing OK does not revert the file to it's previous state. (HELP doesn't help).
Upvotes: 4
Views: 8939
Reputation: 12748
I had this problem. I fixed it by making a backup of my file. Then by doing a Get Latest, Undo Check out and then checked-out and put my changes back.
Upvotes: 2