I’m working on a Visual Studio 2008 Add-in that shows files from SharePoint. It is possible to edit file in SharePint from within Visual Studio, and I would like to give a view of the difference between the current document and the version saved in ShaerPoint and the last published version in SharePoint.
In the past there was Super Diff, but is it still supported for Visual Studio 2008? Is it posible to control it from code? Any other tools?
If you are looking for a free one, there is SourceGear’s DiffMerge.
This very useful article describes the command line values for many of the diff tools you can incorporate into Visual Studio.
This article describes Changing the diff/merge program used by Visual Studio. It targets BeyondCompare (commercial) but the steps can be followed for any diff tool (using the arguments from the previous link).
There is also WinMerge.
EDIT: Just noticed you want to be able to control from code. Both of these tools have a command line interface.