Michal Ciechan
Michal Ciechan

Reputation: 13898

Tool for comparing files in Visual Studio 2010

I read the this Tool for comparing files in Visual Studio post and the recomended posts but unfortuantely it is only for VS-2008. I am wondering if there is a working tool for comparing selected files in visual studio 2010.

Ideally, select 2 files in Solution Explorer and right click and choose "Compare Selected Files"

I also have ankhSVN as my subversion program therefore cannot use

Edit: I have successfully selected WinMerge as my tool for Diff process, but how do i actually compare 2 files using it?

Upvotes: 4

Views: 24582

Answers (4)

JohnC
JohnC

Reputation: 1917

VS IDE config instructions for WinMerge are available from Paul Bouwer's blog entry Replace diff/merge tool in Visual Studio Team System with WinMerge:

In Visual Studio under Tools > Options > Source Control > Visual Studio Team Foundation > Configure User Tools, add entries for Compare and Merge using the options indicated.

Works great anywhere in VS IDE that the Compare command is available eg in Pending Changes and Changeset Details windows.

Also works great with Windows Explorer integration and as a stand alone tool.

Upvotes: 1

Rick Mohr
Rick Mohr

Reputation: 2025

SourceGear DiffMerge is great, and integrates well with VS2010 and AnkhSvn. It's recommended in the AnkhSvn wiki.

To compare 2 files just choose "Open File Diff..." from the "File" menu.

Upvotes: 1

Sander Rijken
Sander Rijken

Reputation: 21615

AnkhSVN is the same for VS2005, 2008 and 2010. You can use Tools -> Options -> Source Control -> Subversion User Tools to configure your diff/merge and patch tools. It will auto-detect most tools, so you only have to select them from the dropdown menu.

See also ankhsvntips

EDIT: There's currently no option to diff 2 different files, you can only diff versions of the same file.

Upvotes: 5

TimC
TimC

Reputation: 1061

I use BeyondCompare, its really good. http://www.scootersoftware.com/support.php?c=kb_vcs.php

Upvotes: 2

Related Questions