Reputation:
Using visual studio 2012 and TFS 2012, I would like to rollback a changeset to the prior one.
Upvotes: 59
Views: 115823
Reputation: 709
I have never worked with TFS 2012 but this works in 2010
Get specific version and pick the version you want to roll-back to and then check in that code again.
Upvotes: -9
Reputation: 4535
In TFS / Visual Studio 2012, you have a few options.
Rollback to a specific version
In Source Control Explorer:
Rollback a single changeset (you can do this through the dialog loaded above too)
Checkin the rollback.
Upvotes: 27
Reputation: 14052
In TFS 2012,
In TFS 2010, you can call the tf rollback
command from a visual studio command prompt, or you can install the TFS power tools and use the same process as above
Upvotes: 82