I tried to update my nuget package from 10.5 to 11.5 but I ran into so many missing methods and problems that I reverted back. I could upgrade to 10.6, but that’s the highest I could go.
Do you deprecate anything from 10.5 on?
I DO have a license.
Here are some errors:
in 11.5.0:
Compile error:
ErrorCS1061‘Page’ does not contain a definition for ‘ProcessParagraphs’ and no extension method ‘ProcessParagraphs’ accepting a first argument of type ‘Page’ could be found (are you missing a using directive or an assembly reference?)
in 10.7:
execution error:
Test Name:ProductPages_Sunflower_Test
Test FullName:CSG.DocBuilder.Tests.GeneratorIntegrationTests.ProductPages_Sunflower_Test
Test Source:C:\Pro…ilder.Tests\GeneratorIntegrationTests.cs : line 1145
Test Outcome:Failed
Test Duration:0:00:06.662
Result StackTrace:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Aspose.Pdf.PageCollection.\u0002\u0014(Int32 )
at Aspose.Pdf.PageCollection.get(Int32 )
at Aspose.Pdf.Document.\u0006(OptimizationOptions )
at Aspose.Pdf.Document.OptimizeResources(OptimizationOptions strategy)
at CS…uilder.Generator.SaveAndClose(String exportFilename) in C:\Pr…ilder\Generator.cs:line 3086
at CSG.Do…tionTests.ProductPages_Sunflower_Test() in C:\Projects\C…ilder.Tests\GeneratorIntegrationTests.cs:line 1176
Result Message:System.Collections.Generic.KeyNotFoundException : The given key was not present in the dictionary.
I have tested the scenario and have observed that ProcessParagraphs(…)method is missing from Aspose.Pdf for .NET 11.5.0. For the sake of correction, I have logged it as PDFNEWNET-40606 in our issue tracking system. We will further look into the details of this problem and will keep you posted on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.
As we recently have noticed earlier reported issue, so its pending for review and is not yet resolved. However the product team will surely consider investigating/fixing it as per development schedule and as soon as we have some definite updates regarding its resolution, we will let you know. Please be patient and spare us little time. We are sorry for this delay and inconvenience.
The issue reported earlier is still pending for review and is not yet resolved. Please note that issues are resolved in first come first serve basis as we believe its the fairest policy to all the customers. Furthermore, unless we have investigated the issue in details, we may not be able to share some possible workaround and as soon as we have some further updates, we will let you know.
Now concerning to your license subscription, once this problem is fixed, then you may consider updating it, so that you can use latest release to verify the resolution.
We have further investigated the earlier reported issue and observed that ProcessParagrap(…) method started causing an issue on one of recent release versions. So in order to resolve this issue, the method is removed from Page class. However in order to calculate document objects before the document is saved, please try using ProcessParagraphs from Document class.