Control click any two files in Solution explorer and then right click and select "Compare Files..." and the configured third-party comparison tool will come up show a diff between the two files.
Compare File Extension for VS2022
Released 01/31/2023: Version 0.62
Control click any two files in Solution explorer and then right click and select "Compare Files...". The configured third-party comparison tool will come up show a diff between the two files. Will also spawn a compare for subtype files if both files have subtype files, for example .designer.cs files.
Shift or Ctrl Click on Two Files, Right Click, and Compare Files
Configure Compare Files on Tools Menu
Configurable by a "Configure Compare Files..." menu item under the Visual Studio Tools menu. Configured to use Beyond Compare 4 by default at %PROGRAMFILES(X86)%\Beyond Compare 4\BCompare.exe. Tested with SourceGear's DiffMerge as well, and should work with most file comparison utilities.
Version 0.62 - 01/31/2023
Updated Newtonsoft.JSON reference to 13.0.2
Added validation error if compare tool file path does not exist on compare
Added validation of compare tool file path on configuration save
Added VS 2022 version
Version 0.5 - 03/17/2020
Recreated VSIX project for VS2017 version
Added ability to add extra arguments to be placed before the compared file names.
Added extra arguments configuration field.
Changed configuration storage to json file instead of flat text file.
Moved common code out of VSIX project and moved to common library project.
Updated VS2017 and VS2019 VSIX projects to use new common library.
Added product and version info to configuration dialog.
Version 0.42 - 03/17/2020
Moved GetServiceAsync to InitializeAsync in all Commands.
Adding Pro, Enterprise, and Shell Integration to supported editions.
Version 0.4 - 03/13/2020
Rewrote VSIX project for Visual Studio 2019.
Set default path as "%PROGRAMFILES(X86)%\Beyond Compare 4\BCompare.exe", which should work better on 64 bit installations of Windows.