IronPDF Slim IronSoftwareDeploymentException
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

