c# - 有没有办法通过 pdfsharp 项目修复 Linux 上的 user32.dll 错误?

标签 c# linux .net-core pdfsharp

我有 pdf 生成器的应用程序。我正在使用 pdfsharp 库。 在我的本地计算机(windows)上,一切正常,但是当我在 linux 计算机上部署应用程序时,我得到:

Unable to load shared library 'user32.dll'

有没有办法克服这个问题或者有任何解决方法?

最佳答案

PDFSharp 现在不支持 Linux。尝试使用 PDFSharp 的 .Net Core 端口:

https://github.com/damienbod/AspNetCorePdf

关于c# - 有没有办法通过 pdfsharp 项目修复 Linux 上的 user32.dll 错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58481923/

相关文章:

c# - Visual Studio 2017 错误 : Cannot find project info for “” This can indicate a missing project reference - with Console App . NET Core 2.1

c# - Threading.Tasks.Task' 不包含 'Result' 的定义

c# - 报告查看器版本 11.0.0.0。参数下拉不会第二次打开

c - Linux 的嵌入式系统中断/硬件处理

linux - 如何在不重启 byobu 的情况下使 ~/.byobu/.tmux.conf 中的更改生效

c# - 当 Net Framework 引用 Net 标准库时无法加载文件或程序集

c# - asp.net如何动态生成无序列表?

c# - 如何使用 TableAdapter 进行更新?

linux - 如何使用 cURL 验证网页是否已完全加载?

c# - C#中比较不同时区时间的代码示例