Wednesday, 7 January 2015

Visual Studio Configuration to use Beyond Compare to compare word docs

To use Beyond compare amend the Visual Studio Configuration as follows...

Perform either of the following sets of steps.
1.      In Visual Studio, on the menu bar, choose Tools, Options.
2.      In the Options dialog box, expand Source Control, choose Visual Studio Team Foundation Server, and then choose Configure User Tools.
--or--
1.      In Windows, choose Start, All Programs, Microsoft Visual Studio 2012, Visual Studio Tools, Developer Command Prompt .
2.      Type tf diff /configure.
3.      In the Configure User Tools dialog box, choose Add.


The Configure Tool dialog box appears.
4.      In the Extension box, specify the extension (for example, .docx).
5.      In the Operation list, choose Compare.
6.      In the Command box type the path and name of your tool on your PC, e.g.
C:\Program Files\Beyond Compare 3\BComp.exe
7.      In the Arguments box, type any arguments that your tool requires e.g.
%1 %2 /title1=%6 /title2=%7
Note:
o    %1: The path to the source file.
o    %2: The path to the target file.
o    %5: The options that the user specified by using the /option option of the Difference command.
o    %6: Label ("friendly name") of the source file.

o    %7: Label ("friendly name") of the target file.