Is it possible to use PDFsharp library with .NET Core?
Asked
Active
Viewed 1.4k times
9
-
https://github.com/empira/PDFsharp/issues/6 – Vipertecpro Feb 06 '20 at 06:32
2 Answers
17
Yes, you can use PdfSharpCore (not using System.Drawing).
As long as you exclusively use it on Windows, you can also use PdfSharpNetStandard (using System.Drawing).

Stefan Steiger
- 78,642
- 66
- 377
- 442
6
Update (April 3, 2023):
Starting today there are new "official" PDFsharp & MigraDoc packages for .NET 6 that can also be used under Linux and other platforms.
Find the source code on GitHub or get the preview packages 6.0.0 from NuGet.
Old answer:
The "official" PDFsharp library does not yet support .NET Core, but there are "inofficial" ports to .NET Core that may or may not work as expected.
So:
No, PDFsharp does not work with .NET Core yet.
Yes, you can get third-party libraries that support the PDFsharp APIs with .NET Core.

I liked the old Stack Overflow
- 20,651
- 8
- 87
- 153