Hi, I’m using GroupDocs.Merger and I’m getting this error:
GroupDocsMergerException: Failed to detect file type.
My C# code looks like this…
var tocStream = new MemoryStream();
// tocStream contains an ASCII encoded byte array of HTML
using (Merger merger = new Merger(tocStream)) // error on this line...
...add more documents to the Merger object
This used to work in an older version of GroupDocs.Merger that I used on .NET5.
I have recently upgraded our codebase to .NET6 and updated our GroupDocs.Merger to Version 22.1 and now we get this error.
Can you give me any advice on what I need to do to make this work properly again?