Comparing two documents return empty output in .NET

Hi,


I have problems when comparing two word documents. The comparer returns an empty document with no marked changes.

I have attached a zip file containing 2 .doc files where comparing works, and 2 .doc files were it does not. It also contains the C# code that I use.

The two files where comparing does not work are modified versions of the documents I have problem with comparing.
The two files that is possible to compare, are new document that I have created.

The files contains the same text, so it most be some property off the document that mess things up

Can you please tell me why it does not work?

(My version of Groupdocs comparison is 2.3.3)

@lars.olsson

Document comparison using latest version of the API is much easier. Please have a look at the code below:

using (Comparer comparer = new Comparer(“source.docx”))
{
    comparer.Add(“target.docx”);
    comparer.Compare(“result.docx”);
}

We’d recommend you to download latest release here and have a look a the migration notes.

The issues you have found earlier (filed as DOCOMPARE-1081) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by GroupDocsNotifier.