/Diff

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Compares two files. The differences are displayed in a special Visual Studio window.

Syntax

devenv /Diff SourceFile, TargetFile, [SourceDisplayName],[TargetDisplayName]

Arguments

SourceFile Required. The full path and name of the first file to be compared.

TargetFile Required. The full path and name of the second file to be compared

SourceDisplayName Optional. The display name of the first file.

TargetDisplayName Optional. The display name of the second file.