
If one of the files is checked out in your workspace, you can modify the file as you run the comparison. The Diff window shows the difference between two files. When you compare files using the instructions in the previous sections, Visual Studio displays the files in the Diff window. In the History window, select two versions of the file, right-click and select Compare. In Source Control Explorer, right-click a file and select View History. On the Visual Studio menu bar, select View > Other Windows > Source Control Explorer.

Compare two versions of a file in your TFVC historyĬompare two versions of a file already checked into Team Foundation Version Control: When the Compare dialog box appears, select OK. You can also use Solution Explorer or Source Control Explorer to compare a file in your workspace with a version of the file on the server.
