Is it possible to release self-contained dll? #133
|
Currently I am attempting to use pdfsharp in my powershell script for some quick task, I download pdfsharp from nuget with all other references, and add each dll in my script. it feels a little pain. The idea is, is it possible to release pdfsharp with the following options or anything similar? thank you for your work on pdfsharp. |
Answered by
ThomasHoevel
Feb 20, 2025
Replies: 2 comments
|
"Trim unused code" is known to lead to problems with PDFsharp because reflection is used. Feel free to download the PDFsharp source code and create such a self-contained DLL. Please share your results. Or maybe share your PowerShell sample so others don't have to start from scratch. |
0 replies
|
With the current version (6.2.0 preview 3) there should be no issues with trimming. |
0 replies
Answer selected by
ThomasHoevel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


With the current version (6.2.0 preview 3) there should be no issues with trimming.