Aspose PDF .NET Core 8 Support

We would like to know plans for releasing a compatible version of Aspose PDF for .NET Core 8. We are in the process of migrating our application to .NET Core 8 and require a compatible version of Aspose PDF. Currently, we cannot find a NuGet download available for .NET Core 8. Please let us know when the .NET Core 8 compatible package will be released.

@rizwanf

We will definitely work on adding support for .NET 8 in Aspose.PDF for .NET. A task as PDFNET-56145 has been logged in our issue tracking system for it. We will let you know as soon as the ticket is resolved. Please spare us some time.

Thank you. Is there a estimated timeline for when support for .NET Core 8 version will be accessible? We need to make plans for our SaaS application update accordingly.

@rizwanf

The .NET 8 version is scheduled for the first half of 2024; however, the anticipated release timeline is subject to potential adjustments based on integration and other testing outcomes.

1 Like

Are there any updated estimates for this task?

@abdulrehmanAtBoardPro

The ticket is definitely in progress towards the implementation of the feature and we do have plans to release it as soon as possible. However, we cannot share any reliable ETA at the moment because of the ongoing investigation. As soon as investigation is completed, we will be sharing updates in this forum thread. Please spare us some time.

Is there any update on this? The last response is over a month old and we are already in the second quarter.

Hi, We started our .Net 8 upgrade to make sure we get it done in time before .Net 6 (LTS) support ends in Novenmber this year, but Aspose was flagged as a risk. Do we have a firm date for .Net 8 compatible version release?

@tauqirfirstam
@dkangfa

We are trying our best to add .NET 8.0 support as soon as possible. We do have plans to launch it before November 2024 if all integration tests went well. Nevertheless, your concerns have been noted along with the ticket and we will be sharing updates with you as soon as ticket is closed. We apologize for the inconvenience.

Could you please provide a status update? we also are facing the .NET 8 issue due to the .NET 6 retirement. We also need to some time to do our own testing with your release for .NET 8 as well.

@chrisbaird

We would like to update you that starting with version 24.5, support for .NET 8 has been implemented.

The issues you have found earlier (filed as PDFNET-56145) have been fixed in Aspose.PDF for .NET 24.5.

I tried the Apose.PDF 24.5.1 and it still does not work with .NET 8 on LINUX.

I did though try Aspose.PDF.Drawing for .NET and this appears to work.

Overview of Aspose.PDF.Drawing for .NET|Aspose.PDF for .NET

Is this direction i should be going for .NET 8 and linux?

@chrisbaird

Yes, Aspose.Pdf.Drawing package is released to work in Linux like environments. It does not have System.Drawing.Common dependency. You should use it and if you face some issues, please let us know.

Hi, I noted that Aspose.Pdf version 24.8.0 says in net8.0 dependencies that it depends on System.Drawing.Common. I used it in Debian 12 and I get errors like The type initializer for ‘Gdip’ threw an exception at System.Drawing.SafeNativeMethods.Gdip.GdipLoadImageFromStream when trying to do new ImageStamp(x) for example.

@MarceloR
You should use the
Aspose.Pdf.Drawing
library. Check out the posts in the following topics

I’ll create a task to add a mention of Aspose.Pdf.Drawing to the description/documentation.

@rizwanf
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-57975

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Thanks for your response. I understand that it is enough with changing Aspose.Pdf library for Aspose.Pdf.Drawing library without changing any code. Will 23.7.0 version work with .net 8? Or should I upgrade the library? This is the code I am using to add a image to my document:

            PdfFileStamp fileStamp = new PdfFileStamp();
            fileStamp.BindPdf(fileName);

            Stamp imageStampHeader = new Stamp();
            imageStampHeader.BindImage(imagenEncabezado);

            imageStampHeader.SetOrigin(1, 700);
            imageStampHeader.IsBackground = true;
            fileStamp.AddStamp(imageStampHeader);

@MarceloR
Yes, you just need to replace the Aspose.Pdf library with the Aspose.Pdf.Drawing library without changing the code.
It is better to use the latest version of the library - 24.08

A post was split to a new topic: Html bookmarks are not being added when generating word documents