VSTS | TFS 2018 | TFS 2017 | TFS 2015 | VS 2017 | VS 2015 | VS 2013
You can compare the differences between two server folders, two local folders, or a server folder and a local folder.
To perform these procedures, you must have the Read permission set to Allow. For more information, see Permissions and groups reference.
To compare two local folders, you do not need Team Foundation Server permissions.
To compare folders by using Folder Difference
On the View menu, choose Other Windows, and then choose Source Control Explorer.
In Source Control Explorer, locate the source folder you want to compare, open its shortcut menu, and then choose Compare.
The Compare dialog box appears and the version control path of the folder that you selected is in the Source Path box.
Under Source Version, select the Type you want to use for comparison: Changeset, Date, Label, Latest Version, or Workspace Version.
Enter the Target Path or choose Browse and locate the target folder.
If the Target Path is to a server folder, under Target Version, select the Type you want to use for comparison: Changeset, Date, Label, Latest Version, or Workspace Version.
Under Filter, you can add or remove file and folder filters.
For more information, see Folder comparison filters.
Select the Filter local paths only box if you want to apply the filter only to local paths.
Under View Options, select which items that you want shown in the comparison results. You can select a combination of view options by checking or clearing the following boxes:
- Show items that exist only in source path.
- Show items that exist only in target path.
- Show items that are different.
- Show items that are the same.
The Folder Difference window displays a list of items that are compared in the source and target folders.