Skip to content

Make working with AcroForms more user-friendly and allow creating PDFs with minmal size #236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2001-2024 empira Software GmbH, Troisdorf (Cologne Area), Germany
Copyright (c) 2001-2025 empira Software GmbH, Troisdorf (Cologne Area), Germany

http://docs.pdfsharp.net

Expand Down
1 change: 1 addition & 0 deletions PdfSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{31FE507C-F342-4DA4-9BE5-B3D2ED93E9CC}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
gitversion-6.x.yml = gitversion-6.x.yml
gitversion.yml = gitversion.yml
LICENSE = LICENSE
README.md = README.md
Expand Down
9 changes: 9 additions & 0 deletions PdfSharp.sln.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=TSA/@EntryIndexedValue">TSA</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=URI/@EntryIndexedValue">URI</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=URL/@EntryIndexedValue">URL</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/Todo/TodoPatterns/=0A4664ADE151C349B62FB87D8470A5D9/TodoIconStyle/@EntryValue">None</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/Todo/TodoPatterns/=30C0E1AC7A361D44A0EBB26FFB540F64/CaseSensitive/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/Todo/TodoPatterns/=4386F01B791C56499C7EA059B55FFB54/Name/@EntryValue">BUG</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/Todo/TodoPatterns/=4386F01B791C56499C7EA059B55FFB54/TodoIconStyle/@EntryValue">Warning</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/Todo/TodoPatterns/=961894CCC510410ABE2B99132B253C80/CaseSensitive/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/Todo/TodoPatterns/=961894CCC510410ABE2B99132B253C80/Name/@EntryValue">TODO</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/Todo/TodoPatterns/=961894CCC510410ABE2B99132B253C80/TodoIconStyle/@EntryValue">Edit</s:String>
<s:Boolean x:Key="/Default/UserDictionary/Words/=AESV/@EntryIndexedValue">True</s:Boolean>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=ID/@EntryIndexedValue">ID</s:String>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ARGB/@EntryIndexedValue">True</s:Boolean>
Expand All @@ -40,6 +47,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=inititalize/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Invers/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=iref/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=irefs/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=iter/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=lucida/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=mdddl/@EntryIndexedValue">True</s:Boolean>
Expand All @@ -50,6 +58,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=parallelize/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=parms/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=punctuator/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=rasterizer/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=referenceable/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=reflectored/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=renderers/@EntryIndexedValue">True</s:Boolean>
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# PDFsharp & MigraDoc 6

Version **6.2.0 Preview 2**
Published **2024-12-10**
Version **6.2.0 Preview 3**
Published **2025-02-06**

This is a preview version of the **PDFsharp** project, the main project of PDFsharp & MigraDoc 6 with updates for C# 12 and .NET 6.

PDFsharp: Copyright (c) 2005-2024 empira Software GmbH, Troisdorf (Cologne Area), Germany
MigraDoc: Copyright (c) 2001-2024 empira Software GmbH, Troisdorf (Cologne Area), Germany
PDFsharp: Copyright (c) 2005-2025 empira Software GmbH, Troisdorf (Cologne Area), Germany
MigraDoc: Copyright (c) 2001-2025 empira Software GmbH, Troisdorf (Cologne Area), Germany
Published Open Source under the [MIT License](https://docs.pdfsharp.net/LICENSE.html)

For more information see [docs.pdfsharp.net](https://docs.pdfsharp.net/)
Expand Down
8 changes: 4 additions & 4 deletions dev/build-local-nuget-packages-release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ try {

Push-Location ..
try {
Write-Host "Invoking dotnet build’"
Write-Host "Invoking dotnet build’"
dotnet build -c release
$build = $LASTEXITCODE
Write-Host "dotnet build’ has finished"
Write-Host "dotnet build’ has finished"
}
finally {
Pop-Location
}

if ($build -gt 0) {
Write-Host "dotnet build’ failed with code " $build
throw "dotnet build’ failed with code " + $build
Write-Host "dotnet build’ failed with code " $build
throw "dotnet build’ failed with code " + $build
}

.\update-local-nuget-packages-release.ps1
Expand Down
16 changes: 16 additions & 0 deletions dev/set-en.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Sets UI language for dotnet build to en-US.
#Requires -Version 7
#Requires -PSEdition Core

# I want to see English messages on my German Windows dev machine
# when I run e.g. dotnet build.

# What works:
$env:VSLANG = 1033
Write-Output "Compiler output language set to en-US."

# What does not work:
#$env:DOTNET_CLI_UI_LANG = 'en-US'
#$env:PreferredUILang = 'en-US'
#powershell -ExecutionPolicy Bypass -NoExit -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = 'en-US'; [System.Threading.Thread]::CurrentThread.CurrentUICulture = 'en-US';"
#powershell -ExecutionPolicy Bypass -NoExit -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = 'en-US'; [System.Threading.Thread]::CurrentThread.CurrentUICulture = 'en-US';"
4 changes: 2 additions & 2 deletions docs/MigraDoc/changes/v6.2.0-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

MigraDoc changes come here.

TODO / JUST A COPY OF PDFSHARP CHANTE LOG
TODO / JUST A COPY OF PDFSHARP CHANGE LOG

### PDFsharp 6.2.0 Preview 1

Expand Down Expand Up @@ -37,7 +37,7 @@ Some assemblies had a subfolder `de` containing German messages.
We removed all `.restext` resources. All messages are now available in US English only.

**PDFsharp.Shared**
Code that grants friendly access to all PDFsharp Foundation assemblies lives in this new assembly.
Code that grants friendly access to all PDFsharp assemblies lives in this new assembly.

**Bug in parsing object referenced**
Lexer now supports white-space within object references.
Expand Down
2 changes: 1 addition & 1 deletion docs/_READ-THIS-FIRST.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Read this first

This folder is **not* the documentation of PDFsharp.
This folder is ***not*** the documentation of PDFsharp.
It contains internal technical information for/from the PDFsharp team.

You find the documentation of PDFsharp [here](https://docs.pdfsharp.net/).
42 changes: 40 additions & 2 deletions docs/change-log/v6.2.0-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,48 @@ This text is copied to `docs.pdfsharp.net`.

## Version 6.2

### PDFsharp 6.2.0 Preview 3
### PDFsharp 6.2.0 (final release)

*not yet released*

### PDFsharp 6.2.0 Preview 3

#### General issues

#### PDFsharp features

**Improved access to CropBox, ArtBox, BleedBox, TrimBox**
PdfPage now has new properties that make access to those boxes easier.
These are `HasBleedBox`, `BleedBoxReadOnly`, and `EffectiveBleedBoxReadOnly`.
Same applies to ArtBox, CropBox and TrimBox.

**Loading images: Improved access to buffer of MemoryStream**
LoadImage from MemoryStream now works with a buffer that is not publicly visible.
For better performance, set 'publiclyVisible' to true when creating the MemoryStream.

#### PDFsharp issues

**Lexer.ScanNumber and CLexer.ScanNumber**
Based on a bug that crashes PDFsharp if a number in a PDFfile has to much leading zeros, we revised the code of **Lexer.ScanNumber** and **CLexer.ScanNumber**.

**No more commas allowed in XUnit**
An old hack allows **XUnit** to be assigned from a string that uses a comma as decimal separator.
This was a introduced for languages like German, that use a comma instead of a point as decimal separator.
Now you get an exception. Applies also to **XUnitPt**.

#### MigraDoc features

**MigraDoc Preview user control restored for GDI build**
The MigraDoc Preview user control is again available in the GDI+ build.
MigraDoc Preview samples for GDI and WPF have been added to the samples repository.

**Color.Parse no longer causes exceptions when invoked with a number value**
If Color.Parse is invoked with a number value, as in `var color = Color.Parse("#f00");`,
it no longer throws a handled exception internally.

#### MigraDoc issues


---

### PDFsharp 6.2.0 Preview 2
Expand Down Expand Up @@ -140,7 +178,7 @@ We added .NET 8 (`net8.0`) to `<TargetFrameworks>`.
PDF documents can now be PDF/A conforming. We are still working on this feature, so currently there are some limitations.

**PDFsharp.Shared**
Code that grants friendly access to all PDFsharp Foundation assemblies lives in this new assembly.
Code that grants friendly access to all PDFsharp Project assemblies lives in this new assembly.

#### Bug fixes

Expand Down
18 changes: 9 additions & 9 deletions docs/publishing/BoilerplateText.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

## PDFsharp

PDFsharp project - PDFsharp
PDFsharp Foundation - PDFsharp library
MigraDoc Foundation - MigraDoc library
PDFsharp Project - PDFsharp
PDFsharp Library - PDFsharp
MigraDoc Library - Library


Source
Expand Down Expand Up @@ -66,17 +66,17 @@ MigraDoc is a .NET library that allows developers to create documents such as PD
Note: Do not replicate information from the metadata (like "6.0.0" or "prerelease").

PDFsharp:
This is a version of PDFsharp using .NET 6.
The package PdfSharp’ can be used on any platform including Windows and Linux. The Target Frameworks are net6.0’ and netstandard2.0’.
The packages PDFsharp-gdi’ and PDFsharp-wpf’ can be used under Windows only. The Target Frameworks are net6.0-windows’ and net462’.
This is a version of PDFsharp compatible with .NET 6 and higher.
The package PdfSharp’ can be used on any platform including Windows and Linux. The Target Frameworks are net6.0’, ‘net8.0’ and netstandard2.0’.
The packages PDFsharp-gdi’ and PDFsharp-wpf’ can be used under Windows only. The Target Frameworks are net6.0-windows’, ‘net8.0-windows’ and net462’.
We also publish packages that contain PDFsharp plus MigraDoc.
See the project docs site for further information:
https://docs.pdfsharp.net/link/readme-v6.2.html


PDFsharp & MigraDoc:
This is a version of PDFsharp and MigraDoc Foundation using .NET 6.
The package PDFsharp-MigraDoc’ can be used on any platform including Windows and Linux. The Target Frameworks are net6.0’ and netstandard2.0’.
The packages PDFsharp-MigraDoc-GDI’ and PDFsharp-MigraDoc-WPF’ can be used under Windows only. The Target Frameworks are net6.0-windows’ and net462’.
This is a version of PDFsharp and MigraDoc compatible with .NET 6 and higher.
The package PDFsharp-MigraDoc’ can be used on any platform including Windows and Linux. The Target Frameworks are net6.0’, ‘net8.0’ and netstandard2.0’.
The packages PDFsharp-MigraDoc-GDI’ and PDFsharp-MigraDoc-WPF’ can be used under Windows only. The Target Frameworks are net6.0-windows’, ‘net8.0-windows’ and net462’.
See the project docs site for further information:
https://docs.pdfsharp.net/link/readme-v6.2.html
50 changes: 50 additions & 0 deletions gitversion-6.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Last update: 25-01-30
assembly-versioning-scheme: MajorMinorPatch
# PDFSHARP_BUILD_VERSION are the days since 2005-01-01. #CHECK_BEFORE_RELEASE
# Command Window: ? (DateTime.Now - new DateTime(2005, 1, 1)).Days;
# C# Interactive: Console.WriteLine((DateTime.Now - new DateTime(2005, 1, 1)).Days);
assembly-file-versioning-format: '{Major}.{Minor}.{Patch}.{env:PDFSHARP_BUILD_VERSION ?? 7334}'
strategies: [Mainline]
assembly-informational-format: '{InformationalVersion}'
branches:
develop: # Current development branch
# branch: develop -- is always 'develop'
# version: {6.0.0}-develop.123 -- taken from git tag plus 'develop' plus commit count
regex: ^develop$
mode: ContinuousDeployment
increment: None
label: develop
# Investigate this currently undocumented breaking change when switching to v6.x.
# The statement may not be needed.
# Not in v6.x: prevent-increment-of-merged-branch-version: false
# Not working: prevent-increment.of-merged-branch: false
# Not working: prevent-increment.when-branch-merged: false
track-merge-target: true
source-branches: ['feature', 'release']
release: # Release and preview versions.
# branch: release/6.0.0-preview-3 -- must be same as git tag without leading 'v'.
# version: {6-0-0-preview-3} -- taken from git tag only
regex: ^(release[/-]|master)
# Must not have mode set to be mainline?
increment: None
label: ''
# Not in v6.x: prevent-increment-of-merged-branch-version: true
track-merge-target: true
is-release-branch: true
is-main-branch: true
source-branches: ['develop', 'release', 'feature']
feature: # Features and bug fixes.
# branch: feature/my-new-feature -- arbitrary name, e.g. a new preview
# version: {6.0.0}-dev-{my-new-feature}.123 -- taken from git tag plus 'dev-' plus branch name plus commit count
regex: ^(user|feature|fix)[/-]
mode: ContinuousDeployment
increment: None
label: 'dev-{BranchName}'
# Not in v6.x: prevent-increment-of-merged-branch-version: true
track-merge-target: true
source-branches: ['develop', 'release', 'feature']
pull-request:
regex: ^(pull|pull\-requests|pr)[/-]
label: PullRequest
mode: ContinuousDeployment
merge-message-formats: {}
4 changes: 2 additions & 2 deletions gitversion.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Last update: 24-11-27
# Last update: 25-02-06
assembly-versioning-scheme: MajorMinorPatch
# PDFSHARP_BUILD_VERSION are the days since 2005-01-01. #CHECK_BEFORE_RELEASE
# Command Window: ? (DateTime.Now - new DateTime(2005, 1, 1)).Days;
# C# Interactive: Console.WriteLine((DateTime.Now - new DateTime(2005, 1, 1)).Days);
assembly-file-versioning-format: '{Major}.{Minor}.{Patch}.{env:PDFSHARP_BUILD_VERSION ?? 7283}'
assembly-file-versioning-format: '{Major}.{Minor}.{Patch}.{env:PDFSHARP_BUILD_VERSION ?? 7341}'
mode: Mainline
assembly-informational-format: '{NuGetVersion}'
branches:
Expand Down
5 changes: 3 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<Nullable>enable</Nullable>
<!-- Found no other way to resolve the following warning than disable it -->
<NoWarn>NU1507</NoWarn>
<WriteVersionInfoToBuildLog>false</WriteVersionInfoToBuildLog>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -26,7 +27,7 @@

<Product>PDFsharp</Product>
<Company>empira Software</Company>
<Copyright>© 2024 empira</Copyright>
<Copyright>© 2025 empira</Copyright>
<Authors>PDFsharp Team</Authors>
<Owners>empira Software GmbH</Owners>
</PropertyGroup>
Expand All @@ -45,4 +46,4 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion src/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<!-- USE_LONG_SIZE: Read/write PDF files larger than 2 GiB -->
<!-- TEST_CODE - Must be renamed in every release build. DO NOT RENAME TO TEST_CODE_ -->
<!-- TEST_CODE - Must be set to TEST_CODE_xxx in every release build. DO NOT RENAME TO TEST_CODE_ -->
<DefineConstants>$(DefineConstants);USE_LONG_SIZE;TEST_CODE_xxx</DefineConstants>
</PropertyGroup>
</Project>
14 changes: 8 additions & 6 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,25 @@

<!-- Digital signature packages used by PdfSharp.Cryptography and for testing -->
<PackageVersion Include="System.Security.Cryptography.Pkcs" Version="$(Cryptography_PackageVersion)" />
<PackageVersion Include="BouncyCastle.Cryptography" Version="2.4.0" />
<PackageVersion Include="BouncyCastle.Cryptography" Version="2.5.0" />

<!-- Unit test packages used for testing only-->
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageVersion Include="xunit.core" Version="2.9.2" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageVersion Include="xunit.core" Version="2.9.3" />
<PackageVersion Include="xunit.assert" Version="2.4.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
<PackageVersion Include="Xunit.Priority" Version="1.1.6" />
<PackageVersion Include="Xunit.SkippableFact" Version="1.4.13" />
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.23" />
<PackageVersion Include="XunitXml.TestLogger" Version="4.1.0" />
<PackageVersion Include="FluentAssertions" Version="6.12.2" />

<!-- GitVersion used for Semantic Versioning -->
<PackageVersion Include="GitVersion.MsBuild" Version="5.12.0" />
<!-- GitVersion 6.0.5 has breaking changes. We fix it later -->
<!--<PackageVersion Include="GitVersion.MsBuild" Version="6.0.5" />-->
<!-- GitVersion 6 does not work in VS because of .NET Framework -->
<!--<PackageVersion Include="GitVersion.MsBuild" Version="6.1.0" />-->

<!-- Other packages -->
<PackageVersion Include="System.Resources.Extensions" Version="8.0.0" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions src/foundation/nuget/src/MigraDoc.NuGet-gdi/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This is a version of PDFsharp and MigraDoc Foundation using .NET 6.
The package PDFsharp-MigraDoc’ can be used on any platform including Windows and Linux. The Target Frameworks are net6.0’ and netstandard2.0’.
The packages PDFsharp-MigraDoc-GDI’ and PDFsharp-MigraDoc-WPF’ can be used under Windows only. The Target Frameworks are net6.0-windows’ and net462’.
This is a version of PDFsharp and MigraDoc compatible with .NET 6 and higher.
The package PDFsharp-MigraDoc’ can be used on any platform including Windows and Linux. The Target Frameworks are net6.0’, ‘net8.0’ and netstandard2.0’.
The packages PDFsharp-MigraDoc-GDI’ and PDFsharp-MigraDoc-WPF’ can be used under Windows only. The Target Frameworks are net6.0-windows’, ‘net8.0-windows’ and net462’.
See the project docs site for further information:
https://docs.pdfsharp.net/link/readme-v6.2.html
6 changes: 3 additions & 3 deletions src/foundation/nuget/src/MigraDoc.NuGet-wpf/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This is a version of PDFsharp and MigraDoc Foundation using .NET 6.
The package PDFsharp-MigraDoc’ can be used on any platform including Windows and Linux. The Target Frameworks are net6.0’ and netstandard2.0’.
The packages PDFsharp-MigraDoc-GDI’ and PDFsharp-MigraDoc-WPF’ can be used under Windows only. The Target Frameworks are net6.0-windows’ and net462’.
This is a version of PDFsharp and MigraDoc compatible with .NET 6 and higher.
The package PDFsharp-MigraDoc’ can be used on any platform including Windows and Linux. The Target Frameworks are net6.0’, ‘net8.0’ and netstandard2.0’.
The packages PDFsharp-MigraDoc-GDI’ and PDFsharp-MigraDoc-WPF’ can be used under Windows only. The Target Frameworks are net6.0-windows’, ‘net8.0-windows’ and net462’.
See the project docs site for further information:
https://docs.pdfsharp.net/link/readme-v6.2.html
6 changes: 3 additions & 3 deletions src/foundation/nuget/src/MigraDoc.NuGet/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This is a version of PDFsharp and MigraDoc Foundation using .NET 6.
The package PDFsharp-MigraDoc’ can be used on any platform including Windows and Linux. The Target Frameworks are net6.0’ and netstandard2.0’.
The packages PDFsharp-MigraDoc-GDI’ and PDFsharp-MigraDoc-WPF’ can be used under Windows only. The Target Frameworks are net6.0-windows’ and net462’.
This is a version of PDFsharp and MigraDoc compatible with .NET 6 and higher.
The package PDFsharp-MigraDoc’ can be used on any platform including Windows and Linux. The Target Frameworks are net6.0’, ‘net8.0’ and netstandard2.0’.
The packages PDFsharp-MigraDoc-GDI’ and PDFsharp-MigraDoc-WPF’ can be used under Windows only. The Target Frameworks are net6.0-windows’, ‘net8.0-windows’ and net462’.
See the project docs site for further information:
https://docs.pdfsharp.net/link/readme-v6.2.html
Loading