Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Nov 26, 2020 12:46 am

Hi,

I migrated my project with spire.PDF from .NET 4.7 to .NET core but apparently the spire.PDF doesn't work on .NET Core (see attached).

Btw, i used latest spire.PDF version with 6.11.6. Our license version is 6.7.

Did i missed something here?

Cheers,
Val

valben.galon
 
Posts: 2
Joined: Thu Nov 26, 2020 12:28 am

Thu Nov 26, 2020 3:08 am

Hello,

Thanks for your inquiry!

Did you add our products to your .Net Core project through Nuget(https://www.nuget.org/packages/Spire.PDF) ? Kindly note that Nuget(https://www.nuget.org/packages/Spire.PDF) will install the Spire.Pdf for NetStandard dll in the .Net Core project. Our Spire.Pdf for .Net Core dll supports the PdfDocument.PrintSettings interface. Please install Spire.Pdf for .NetCore dll from Nuget(https://www.nuget.org/packages/Spire.PDF.NETCore) or download the latest Spire.PDF v6.11.6 from our website and manually reference the .Net Core dll to project.

Binfile.jpg


Note that netcoreapp2.0, netcoreapp3.0 have external references:
netcoreapp2.0 Has external reference to
System.Drawing.Common >= 4.5.0
System.Text.Encoding.CodePages >= 4.5.0


netcoreapp3.0 Has external reference to
System.Drawing.Common >= 4.7.0
System.Text.Encoding.CodePages >= 4.7.0


If there is still any question, please feel free to contact us.

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Mon Nov 30, 2020 10:34 am

Hello,

Hope you are doing well.

Has your issue been solved now? Could you please give us some feedback at your convenience?

Thanks in advance.

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Thu Dec 10, 2020 3:10 am

Yes, i'm able to fix it by using the same Spire version in .net core

valben.galon
 
Posts: 2
Joined: Thu Nov 26, 2020 12:28 am

Thu Dec 10, 2020 8:02 am

Hello,

Thanks for your feedback!

Glad to hear that the issue has been solved.

If you have any other problem, just feel free to contact us.

Wish you all the best!

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Return to Spire.PDF