C#

PDFsharp

PDFsharp and MigraDoc Foundation for .NET 6 and .NET Framework

E

empira

Dernière activité 5 mai 2026
empira/PDFsharp

996

étoiles

260

forks

131

issues ouvertes

pdf-filespdf-generation

Ce README est souvent en anglais.

Maintained by PDFsharp Team Commercial Support Available

This project is actively maintained by the PDFsharp Team.
Professional assistance for production is available upon request.

PDFsharp & MigraDoc 7

Version 7.0.0 Preview 1
Published 2026-03-24

This is a preview version of the PDFsharp project, the main project of PDFsharp & MigraDoc 7 with updates for C# 12 and .NET 8, .NET 9, and .NET 10.

PDFsharp: Copyright (c) 2005-2026 empira Software GmbH, Troisdorf (Cologne Area), Germany
MigraDoc: Copyright (c) 2001-2026 empira Software GmbH, Troisdorf (Cologne Area), Germany
Published Open Source under the MIT License

For more information see docs.pdfsharp.net

Read this FIRST

Project documentation can be found on our DOCS site: https://docs.pdfsharp.net.

Note that PowerShell 7 is required to execute the PowerShell scripts that come with PDFsharp.

Download assets first

Assets like bitmaps, fonts, or PDF files are not part of the repository anymore. You must download them before compiling the solution for the first time. Use download-assets.ps1 in the dev folder to create assets folder required for some unit tests and needed by some projects.

Execute

.\dev\download-assets.ps1

Build the solution

dotnet build should build the solution without any warnings or errors.

  • You need the latest .NET SDK version installed
  • Please note that you need a git repository with at least one commit in order to build the PDFsharp solution.
    Without a git repository with at least one commit, you will get an error message from GitVersion.MsBuild while building the solution. You can set a tag to define a valid version, e.g.: git tag v6.2.0 to make it build with a specific version number. Without tag, version 0.1.0 will be used.

    (Is now done automatically by BuildConfig)

Central package management

The solution uses central package management. Version numbers for all referenced packages are stored in file Directory.Packages.props in the src folder. When adding new packages, add the required version here.

Authors

PDFsharp and MigraDoc was mainly written by the following software developers. With support of a lot of community developers who found issues and fixed bugs.

Original PDFsharp developers

Stefan Lange
Niklas Schneider
David Stephensen

Original MigraDoc developers

Klaus Potzesny
Niklas Schneider
Stefan Lange

Current PDFsharp and MigraDoc developers

Stefan Lange
Thomas Hövel
Martin Ossendorf
Andreas Seifert

Libraries used by PDFsharp

The Core build of PDFsharp uses BigGustave to read PNG images. BigGustave was released into the public domain and does not restrict the MIT license used by PDFsharp.
Link to project repository: https://github.com/EliotJones/BigGustave

Projets similaires

QuestPDF is a modern library for PDF document generation. Its fluent C# API lets you design complex layouts with clean, readable code. Create documents using a flexible, component-based approach.

C#c-sharpdotnet-coreexport
QQuestPDF
14,2 k étoiles773

iText for .NET is the .NET version of the iText library, formerly known as iTextSharp, which it replaces. iText represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high and low-level programming capabilities and the ability to create, edit and enha

C#accessibilityacroformarchiving
Iitext
1,9 k étoiles352

PDF补丁丁——PDF工具箱,可以编辑书签、剪裁旋转页面、解除限制、提取或合并文档,探查文档结构,提取图片、转成图片等等

C#pdfpdf-converterpdf-document-processor
Wwmjordan
12,7 k étoiles1,6 k