We are using the .NET API
The API version is
Runtime: v2.0.50727
Version: 19.9.0.0
The files being compared are simple docx files with a single line of text.
Here is our sample code where fullFilePath[] is a list of the files to compare::
//===========================================
using (var comparer = new Comparer(fullFilePath[0]))
{
for (int i = 1; i < fullFilePath.Count; i++)
{
comparer.Add(fullFilePath[i]);
}
var options = new GroupDocs.Comparison.Options.CompareOptions();
options.ShowDeletedContent = true;
options.ChangedItemStyle = new GroupDocs.Comparison.Options.StyleSettings()
{
IsStrikethrough = true,
IsUnderline = true,
HighlightColor = System.Drawing.Color.Purple,
IsBold = true
};
options.GenerateSummaryPage = true;
comparer.Compare(outputFilename, options);
resultFile = outputFilename;
error = null;
}
//===========================================
The output file of the comparison is fine. There are no issues with the output. The problem we are having is the files involved in the comparison cannot be opened after the comparison is complete. GroupDocs is not releasing the file handles.