
Visual summary of the differences between the files To open the Diff window directly in Visual Studio, you can use the devenv.exe tool with the /diff option from the Developer Command Prompt to compare any two files on your computer. Type a path, or open the Browse menu, choose Local Path or Server Path, and then browse to choose the file.Ĭhoose an option to specify file the server file version when specifying a Server Path from the Type menu: Changeset, Date, Label, Latest Version, or Workspace Version.Įven if you're not using version control, you can use the Diff window in Visual Studio to compare two files. Specify the two files you want to compare - one under Source Path and the other under Target Path: In Source Control Explorer, right-click a file and select Compare. On the menu bar, choose View, Other Windows, Source Control Explorer.

The files can both reside on the local system, both on your Team Foundation Server, or one on each.

You can compare any two files using the Compare dialog. Compare any two files using the Compare dialog

Even if you're not using version control, you can use the Diff window in Visual Studio to compare two files.
