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. |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
With the current version (6.2.0 preview 3) there should be no issues with trimming. |
Beta Was this translation helpful? Give feedback.
With the current version (6.2.0 preview 3) there should be no issues with trimming.