IronPDF.Slim 版本说明。
This article was translated from English: Does it need improvement?
TranslatedView the article in English
什么是 IronPdf.Slim?
IronPdf.Slim 可以用于减小 初始 部署大小。这在 初始包大小有限 的环境中非常有用,例如 AWS Lambda,IronPDF 被安装到容器中。 关于此包的附加信息如下:
- IronPdf.Slim 仅包含 IronPdf.dll
- 支持所有平台,但不包括 Windows、Linux 或 MacOS 的特定依赖项
- 适用于跨平台解决方案/高度便携的应用程序,其中目标平台未知
- 它需要安装 Iron Software.Native.PdfModel 包。
IronPdf.Native.Chrome 依赖包包含特定操作系统 (Windows/Linux/MacOS/MacOS.ARM) 的 Chrome 渲染引擎二进制文件,将在运行时下载。为确保成功操作:
您必须将 Installation.AutomaticallyDownloadNativeBinaries 设置为
true。// Enables automatic downloading of native binaries needed for IronPdf.Slim operation IronPdf.Installation.AutomaticallyDownloadNativeBinaries = true;// Enables automatic downloading of native binaries needed for IronPdf.Slim operation IronPdf.Installation.AutomaticallyDownloadNativeBinaries = true;$vbLabelText $csharpLabel- IronPdf.Slim可减少初始部署大小。在初始包大小受限的环境(例如安装了IronPDF的AWS Lambda容器)中非常有用。
- 确保您具有必要的读取、写入和执行权限,以允许将二进制文件放置在项目文件夹中。
请注意使用 IronPdf.Slim 软件包的项目初始运行时间较长,预计可完成上述操作。
如果在项目中使用 IronPdf.Slim 仍有问题,请随时联系支持。
准备开始了吗?
Nuget 下载 17,012,929 | 版本: 2025.12 刚刚发布






