To compare files from the Solution Explorer window, right-click the resource and click . The Compare and Merge window opens. Each difference is highlighted surrounded with a box. You can use the navigation buttons in the toolbar to move between the differences or incorporating the changes.
To compare files from the Pending Changes window, save the modified file and navigate toUnresolved. Right-click the file and select Open in Compare Editor.
To compare resources from the History window, right-click the change set, and click Open in Change Explorer. In the Change Explorer window, right-click a file and click either Compare with Previous or Compare with Local. The Compare with Previous option compares the selected version of the file with its immediate predecessor in the repository and Compare with Local compares the selected file with its copy in your local repository workspace.