Saltar al pie de página
.NET AYUDA

¿Qué es Redistribuible de Visual C++?

What is Microsoft Visual C++ Redistributable?

Microsoft Visual C++ Redistributable (MSVCR) is a package offered by Microsoft for programs developed using Visual Studio. It contains C and C++ runtime libraries and is essentially plug-and-play on the Windows platform. You need to download the required Visual C++ version number requested by the program and install it to start working. If the program built uses C or C++ libraries, then the corresponding Visual C++ package is required to run the program. The architecture of Visual C++ must match the application's target architecture.

What is Visual C++ Redistributable: Figure 1

Which Visual C++ Redistributable is needed?

There are multiple versions of Visual C++ available, and you can download and install specific versions according to your computer architecture. The packages are available for both 32-bit and 64-bit architecture. If you have an x64 (64-bit) operating system (OS), then you can install both x64 and x86 (32-bit) versions on your Windows platform. However, for x86 operating systems, you can only download and install x86 versions. Here is a list of all available versions for both x86 and x64 OS: Latest Supported MSVCR for Visual Studio.

Visual C++ Redistributable for Iron Products

IronPDF

What is IronPDF, and How Does it Relate to Visual C++?

IronPDF .NET Library is a .NET Library for PDF creation and manipulation. Applications can be developed using IronPDF in Visual Studio. IronPDF supports the latest .NET versions and goes back to standard 2.0 and standard core versions of the .NET Framework. If you are building apps for older operating systems, then a Visual C++ Redistributable package is a must.

IronPDF requires a Visual C++ Redistributable package on the target Windows platform for most of its operations. Tasks related to Chrome dependencies, or if you are not able to initialize IronPDF, IronInterop, or Pdfium objects all require Microsoft Visual C++ Redistributable package on the target machine. Another common exception raised is PlatformNotSupportedException. This means the registry is not supported on this particular platform. This rarely-seen issue can also be solved by installing the required Visual C++ redistributable package.

Applications developed using Visual Studio 2015, 2017, 2019, and 2022 require the latest version of the Visual C++ Redistributable package to run on the target machine. It is available for both x86 and x64 architecture machines.

IronPDF uses the Chromium Engine to convert HTML to PDF using IronPDF, which is fast, accurate, and reliable.

IronOCR

What is IronOCR, and How Does It Relate to Visual C++?

IronOCR Library is an Optical Character Recognition library used to extract text from images and PDFs. IronOCR also uses IronPDF capabilities to work with PDF documents. This means Visual C++ Redistributable packages are often required with IronOCR applications.

IronOCR applications are also built using Visual Studio, and a relevant Visual C++ package is required. Versions of Visual Studio versions before 2015 require a separate Visual C++ redistributable runtime package. For Visual Studio 2015 and above, the latest version MICROSOFT VISUAL C++ 2015 - 2022 RUNTIME is required to be installed.

For more troubleshooting guides on Visual C++ redistributable for IronOCR, visit the IronPDF Troubleshooting Guide.

Fixing Errors using Visual C++ Redistributable Packages

Programs built in Visual Studio using IronPDF or IronOCR require a Visual C++ redistributable package to be installed on the target machine where the application needs to be deployed.

Visual Studio 2015, 2017, 2019, AND 2022

The latest version of the Visual C++ redistributable is built with the latest C++ features, along with performance improvements, security, and reliability. For applications created in Visual Studio 2015, 2017, 2019, and 2022, the following Visual C++ 2015-2022 runtimes need to be installed according to the machine architecture:

Visual Studio 2013 (VC++ 12.0)

For applications built in Visual Studio 2013, the following Visual Studio C++ redistributable package needs to be installed:

To download updates and other versions, please visit: Update for Visual C++ 2013 Redistributable Package

Visual Studio 2012 (VC++ 11.0) UPDATE 4

For apps built in Visual Studio 2012, the following Visual Studio C++ redistributable package needs to be installed:

To download updates and other versions, please visit: Microsoft Visual C++ Redistributable Packages for Visual Studio 2012 Update 4

Older Visual Studio Versions

The following versions are no longer supported:

  • Visual Studio 2010 (VC++ 10.0) SP1
  • Visual Studio 2008 (VC++ 9.0) SP1
  • Visual Studio 2005 (VC++ 8.0) SP1

Adding Visual C++ Redistributable Package with IronPDF or IronOCR Application Installer for Target Machines

As a developer, you can add the required Microsoft Visual C++ Redistributable package with the application installer. This helps the user to run your program without needing to download any additional dependencies. The Visual C++ redistributable file can be packed with the app installer, such as MSI, if required. The list of Microsoft Visual C++ redistributable for Visual Studio is mentioned above in detail. You can choose the correct version to pack with your application installer.

How to manually install the Latest Version of Visual C++ Redistributable?

To install Visual C++ Redistributable, you just need to download the correct version number and install it using the setup file. The following steps will help you download and install the latest version of Visual C++ 2015-2022 runtime for applications built in Visual Studio 2022 using IronPDF or IronOCR:

  1. Visit the Microsoft Visual C++ redistributable website to download the latest version. Here is the link: Download Latest MSVCR.

    What is Visual C++ Redistributable: Figure 2

  2. Once the file is downloaded, navigate to the downloaded file location and double-click to open the file and install.
  3. The setup will appear. Select the agreement option and click install to install the Visual C++ 2015-2022 version on your computer.

    What is Visual C++ Redistributable: Figure 3

  4. The installation will begin, and it should take a few seconds to complete.

    What is Visual C++ Redistributable: Figure 4

  5. Once the installation is completed, you need to restart the PC to use Microsoft Visual C++ Redistributable for your applications. Click restart, and you are ready to use the applications.

    What is Visual C++ Redistributable: Figure 5

  6. To verify the installation, open the control panel to check if Visual C++ redistributable 2015-2022 is added in programs. It will also show the existing current versions of Visual C++ redistributable that are already installed.

    What is Visual C++ Redistributable: Figure 6

Summary

In this article, we learned what the Visual C++ Redistributable package is and how it is linked to different Iron products. These are Dynamic Link Libraries (DLL) that are required at runtime for the proper working of an application. If you only intend to run applications built with Visual Studio, you can choose the appropriate version of Microsoft Visual C++ redistributable runtime to do so.

Now you can get a free trial of Iron Products like IronPDF and IronOCR.

Preguntas Frecuentes

¿Qué es Microsoft Visual C++ Redistributable?

Microsoft Visual C++ Redistributable (MSVCR) es un paquete proporcionado por Microsoft para programas desarrollados con Visual Studio. Contiene bibliotecas de tiempo de ejecución de C y C++ necesarias para ejecutar aplicaciones que usan estas bibliotecas.

¿Qué Visual C++ Redistributable necesita mi aplicación?

La versión específica necesaria depende de la arquitectura objetivo de la aplicación y la versión de Visual Studio utilizada para construirla. Para sistemas de 64 bits, se pueden instalar versiones x64 y x86, mientras que para sistemas de 32 bits, solo son aplicables las versiones x86.

¿Por qué son necesarios los paquetes Visual C++ Redistributable para las bibliotecas .NET?

Ciertas bibliotecas .NET, como las usadas para la creación y manipulación de PDF, requieren Visual C++ Redistributable en la plataforma Windows objetivo para operaciones relacionadas con dependencias de Chrome e inicialización de ciertos objetos.

¿Cómo se beneficia el Reconocimiento Óptico de Caracteres del Visual C++ Redistributable?

Las bibliotecas de Reconocimiento Óptico de Caracteres (OCR) a menudo requieren paquetes Visual C++ Redistributable porque pueden usar capacidades de otras bibliotecas que dependen de estos redistribuibles, asegurando su correcta funcionalidad.

¿Cómo puedo solucionar errores relacionados con el Visual C++ Redistributable?

Los errores a menudo se pueden resolver asegurándose de que el paquete adecuado de Visual C++ Redistributable esté instalado en la máquina objetivo. Esto es crucial para las aplicaciones construidas con Visual Studio usando ciertas bibliotecas .NET.

¿Puedo incluir Visual C++ Redistributable en el instalador de mi aplicación?

Sí, los desarrolladores pueden incluir el paquete necesario de Visual C++ Redistributable con el instalador de la aplicación para asegurarse de que el usuario final no necesite descargar dependencias adicionales.

¿Qué versión de Visual C++ Redistributable es requerida para aplicaciones construidas en Visual Studio 2015 y versiones posteriores?

Las aplicaciones construidas en Visual Studio 2015, 2017, 2019 y 2022 requieren tener instalada la última versión de runtime de Visual C++ 2015-2022 en la máquina objetivo.

¿Cómo puedo instalar manualmente la última versión de Visual C++ Redistributable?

Para instalar, descarga la versión correcta desde el sitio web de Microsoft, ejecuta el archivo de instalación, acepta los términos y sigue los pasos de instalación. Se requiere un reinicio del sistema para completar la instalación.

¿Por qué es importante Microsoft Visual C++ Redistributable para el rendimiento de la aplicación?

Los paquetes Microsoft Visual C++ Redistributable son vitales para asegurarse de que las aplicaciones desarrolladas con Visual Studio funcionen correctamente, ya que proporcionan las bibliotecas de tiempo de ejecución necesarias que ayudan a mantener el rendimiento y la fiabilidad de la aplicación.

Curtis Chau
Escritor Técnico

Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien ...

Leer más