| title | Compare Files | Microsoft Docs | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 03/06/2017 | |||
| ms.prod | sql-server-2014 | |||
| ms.reviewer | ||||
| ms.technology | ||||
| ms.topic | conceptual | |||
| helpviewer_keywords |
|
|||
| ms.assetid | 728811c4-5d7a-4420-abce-f56c5a0994d2 | |||
| author | mashamsft | |||
| ms.author | mathoma | |||
| manager | craigg |
You can compare files to determine how a file has progressed to its present state. For example, if you detect a defect in a build of your code project after a particular source file version is checked in, you can compare the current file version to a previous one. This helps you to pinpoint the code that introduced the defect.
You can use [!INCLUDEssManStudioFull] to compare a local copy of a project or file to the version stored in source control, or to compare two local files. Also, using the History command, you can compare any two source-controlled versions.
-
In Solution Explorer, select either a project or one of the project files.
-
On the File menu, point to Source Control, and click Compare.
-
In the Difference Options dialog box, select the appropriate options, and then click Report.
Set and Retrieve Version Information
View File History
View Project History
View File Status
Retrieve Files