We are using Aspose.Words since a long time in a project that uses ilmerge to create one project DLL. We try to update our project from 14.2.0 to the newest 14.5.0 version. This produces serveral errors during the execution. We use the same build process as before. Just changed the DLL.
License wordLicense = new License(); string licenseString = @"<?xml version=‘1.0’…"; wordLicense.SetLicense(new MemoryStream(Encoding.ASCII.GetBytes(licenseString)));
Results in Error:
Attempted to read past the end of the stream.
at Aspose.Words.License.SetLicense(Stream stream)
Thanks for helping us!