安装 Visual C++ Redistributable for IronPDF

2022年一月19日
更新 2024年十月20日
分享:
This article was translated from English: Does it need improvement?
Translated
View the article in English

请确保在目标机器上安装Microsoft Visual C++ Redistributable for Visual Studio的最新版本2015-2022。

这是Windows操作系统运行IronPDF和许多其他现代软件所必需的系统组件。 没有安装 Visual C++ Redistributable,IronPDF 将抛出以下异常:


异常:IronSoftware.Exceptions.IronSoftwareDeploymentException:'部署IronPdf Chrome渲染器时出错:'找不到指定的模块。'

为Windows安装Visual C++运行时

从微软官方支持CDN下载并运行安装程序

  • 32位机器仅需要x86 [从微软下载x86]
  • 64 位机器需要同时安装 x86 和 x64 [从微软下载 x64]
  • 最新版本 2015-2022

    对于我们的“SaaS/OEM 重新分配”客户,安装C++运行时的一个重要优势是它可以作为MSI或可执行程序安装程序的一部分进行打包和分发。

替代方法:Windows 更新

一些用户更喜欢通过安装Windows 的通用 C++ 运行时更新来成功修复。

微软建议旧版操作系统(如 Windows Server 2012、Windows 8 和 Windows Vista)采用这种方法。