Hi there
I am using your library for years now, but now I have problems showing the generated XpsDocument in DocumentViewer. I upgraded to .NET 5.0 and now I see this issue. Using 4.8 never showed this problem!
In short what i do:
var document = DocumentModel.Load(file)
// MailMerge docment
var xps = document.ConvertToXpsDocument(SaveOptions.XpsDefault)
// Document is bound to DocumentViewer.Document
Document = xps.GetFixedDocumentSequence();
The generated document is shown in the viewer, but after some time I get the following exception:
’System.IO.IOException’ in System.IO.Compression.dll
Entries cannot be opened multiple times in Update mode.
If you want to have an example to reproduce, just let me know!
Regards Günter