I’m having a real hard time rolling back a change under TFS Source Control. I’ve followed the instructions in MSDN with no success.
The instructions basically go like this:
- Get the old version for source control (files get copied to local workspace)
- Check out the local version
- Check in
The problem is that when checking out, the latest version is automatically fetched from source control, overwriting the specific version I was trying to revert to.
That same MSDN article has a comment on it pointing to the same fact, and there seems to be a setting for that, which can be changed in two places:
- In the TFS project settings (rightclick the project in Team Explorer -> Team Project Settings -> Source Control):

- A Visual Studio Setting (Tools -> Options -> Source Control -> Visual Studio Team Foundation Server):

As you can see, both of them are disabled, but I’m still getting the latest version whenever I do a check out, making it impossible to do a rollback.
Is there any other setting I’m missing? Or this isn’t the correct way of doing a rollback?
NOTE: Using Visual Studio 2010
Since you ‘re on VStudio2010 – you can probably forget about that MSDN article.

Instead, download & install latest TFS Power Tools, they do come with a nice graphical “Rollback”:
You can also check
tf rollback.