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的臨時解決方案,將在未來的版本中修復。

Curtis Chau
技術撰稿人

Curtis Chau 擁有電腦科學學士學位(卡爾頓大學),專長於前端開發,精通 Node.js、TypeScript、JavaScript 和 React。Curtis 對製作直覺且美觀的使用者介面充滿熱情,他喜歡使用現代化的架構,並製作結構良好且視覺上吸引人的手冊。

除了開發之外,Curtis 對物聯網 (IoT) 也有濃厚的興趣,他喜歡探索整合硬體與軟體的創新方式。在空閒時間,他喜歡玩遊戲和建立 Discord bots,將他對技術的熱愛與創意結合。

準備好開始了嗎?
Nuget 下載 17,386,124 | 版本: 2026.2 剛剛發布