If you want to compare two files on disk that are not checked in to TFS, by using Microsoft Visual Studio, you can use the following steps:

1. Open Microsoft Visual Studio > Team Explorer > Source Control

2. Navigate to a random file en right click it:

image

3. Click on Compare…

4. For the Source Path: Click Browse… > Local Path… and browse to the first file.

image

5. Repeat this for the target path

6. Click OK

 

Now the two files will be compared and the differences will be shown, without the files being checked in to TFS.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.