IronPdf.Slim IronSoftwareDeploymentException(Iron Software部署异常)
This article was translated from English: Does it need improvement?
Translated
View the article in English
对于使用 IronPdf.Slim v2025.5.6 的用户,在使用 IronPdf.Slim 运行任何进程时,将会遇到以下错误。
IronSoftware.Exceptions.IronSoftwareDeploymentException: 'Error while deploying Pdfium for IronPdf: 'Multiple issues occurred while trying to deploy Pdfium (Failed to locate 'IronPdfInterop' at 'C:\Users\user\source\repos \Demo.Blazor.IronOcr\TestIron Pdf\TestIronPdf\bin\Debug\net8.0\runtimes\win-x64 \native') (Failed to locate 'IronPdfInterop' at 'C:\Users\user\source\repos This exception was originally thrown at this call stack:
此异常的主要问题在于依赖性仅与IronPDF相关,而不是IronPdf.Slim,导致IronPdf.Slim无法找到正确的包来正常工作。 此错误仅适用于使用 IronPdf.Slim v2025.5.6 的用户。
解决方案
要解决此问题,请同时安装 IronSoftware.Native.PdfModel 包。 安装该包后,错误将得到解决。 这目前是针对 IronPdf.Slim v2025.5.x 的临时解决方案,将在未来版本中修复。
准备开始了吗?
Nuget 下载 18,918,602 | 版本: 2026.5 just released

