The windows 10 universal crt

Update for Universal C Runtime in Windows

This article describes an update for Universal C Runtime (CRT) in Windows. Before you install this update, see the prerequisites section. For more information, see Introducing the Universal CRT.

About this update

The Windows 10 Universal CRT is a Windows operating system component that enables CRT functionality on the Windows operating system. This update allows Windows desktop applications that depend on the Windows 10 Universal CRT release to run on earlier Windows operating systems.

Microsoft Visual Studio 2015 creates a dependency on the Universal CRT when applications are built by using the Windows 10 Software Development Kit (SDK). You can install this update on earlier Windows operating systems to enable these applications to run correctly.

This update applies to the following operating systems:

Windows Server 2012 R2

Windows Server 2012

Windows Server 2008 R2 Service Pack 1 (SP1)

Windows Server 2008 Service Pack 2 (SP2)

Windows Vista SP2

How to obtain this update

Method 1: Windows Update

This update is provided as a Recommended update on Windows Update. For more information about how to run Windows Update, see How to get an update through Windows Update.

Method 2: Microsoft Download Center

The following files are available for download from the Microsoft Download Center.

All supported x86-based versions of Windows 8.1

Download the package now.

All supported x64-based versions of Windows 8.1

Download the package now.

All supported x64-based versions of Windows Server 2012 R2

Download the package now.

All supported x64-based versions of Windows Server 2012

Download the package now.

All supported x86-based versions of Windows 7

Download the package now.

All supported x64-based versions of Windows 7

Download the package now.

All supported x64-based versions of Windows Server 2008 R2

Download the package now.

All supported x86-based versions of Windows Vista

Download the package now.

All supported x64-based versions of Windows Vista

Download the package now.

All supported x86-based versions of Windows Server 2008

Download the package now.

All supported x64-based versions of Windows Server 2008

Download the package now.

Note The update for Windows RT 8.1 can be downloaded only from Windows Update.

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Update detail information

Prerequisites

Registry information

To apply this update, you don’t have to make any changes to the registry.

Restart requirement

You may have to restart the computer after you apply this update.

Update replacement information

This update doesn’t replace a previously released update.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.

References

See the terminology that Microsoft uses to describe software updates.

Читайте также:  Кодеки для mac os perian

Развертывание универсальной библиотеки CRT Universal CRT deployment

Начиная с Visual Studio .NET и заканчивая Visual Studio 2013 каждый основной выпуск инструментов и компилятора C++ содержал новую автономную версию библиотеки среды выполнения C (CRT) корпорации Майкрософт. From Visual Studio .NET through Visual Studio 2013, each major release of the C++ compiler and tools has included a new, standalone version of the Microsoft C Runtime (CRT) library. Эти автономные версии CRT были независимыми друг от друга и в различной степени несовместимыми друг с другом. These standalone versions of the CRT were independent from, and to various degrees, incompatible with each other. Например, библиотека CRT, используемая Visual Studio 2012, имела версию 11 и имя msvcr110.dll, а CRT в Visual Studio 2013 имела версию 12 и имя msvcr120.dll. For example, the CRT library used by Visual Studio 2012 was version 11, named msvcr110.dll, and the CRT used by Visual Studio 2013 was version 12, named msvcr120.dll. Начиная с Visual Studio 2015, это больше не так. Beginning in Visual Studio 2015, it’s no longer the case. В Visual Studio 2015 и более поздних версиях используется одна универсальная CRT. Visual Studio 2015 and later versions of Visual Studio all use one Universal CRT.

Универсальный CRT (UCRT) — это компонент операционной системы Microsoft Windows. The Universal CRT (UCRT) is a Microsoft Windows operating system component. Он входит в состав операционной системы Windows 10 и Windows Server 2016 или более поздней версии. It’s included as part of the operating system in Windows 10 and Windows Server 2016 or later. UCRT доступен с помощью Центр обновления Windows в более старых операционных системах, которые по-прежнему доступны в расширенной поддержке. The UCRT is available by using Windows Update on older operating systems that are still in extended support. Локальное развертывание универсальной CRT поддерживается с некоторыми ограничениями. Local deployment of the Universal CRT is supported, with some restrictions.

Централизованное развертывание Central deployment

Предпочитаемый способ централизованной установки универсальной CRT — Центр обновления Microsoft Windows. The preferred method to centrally install the Universal CRT is to use Microsoft Windows Update. Универсальная CRT является рекомендуемым обновлением для всех поддерживаемых операционных систем Microsoft Windows, поэтому многие компьютеры устанавливают ее по умолчанию в рамках обычного процесса обновления. The Universal CRT is a Recommended update for all supported Microsoft Windows operating systems, so by default, most machines install it as part of the regular update process. Первоначальный выпуск универсальной CRT был KB2999226. The initial release of the Universal CRT was KB2999226. Более позднее обновление с различными исправлениями ошибок было внесено в KB3118401, и существуют дополнительные обновления с дальнейшими исправлениями ошибок и новыми функциями. A later update with various bug fixes was made in KB3118401, and there have been additional updates with further bug fixes and new features. Чтобы получить более актуальные обновления, выполните поиск по запросам «Universal C Runtime» (Универсальная среда выполнения C) или «Universal CRT» (Универсальная CRT) на сайте support.microsoft.com. For more recent updates, search support.microsoft.com for Universal C Runtime or Universal CRT.

Не все компьютеры с Microsoft Windows регулярно получают обновления через Центр обновления Windows, а на некоторых могут устанавливаться не все рекомендуемые обновления. Not all Microsoft Windows computers regularly install updates by use of Windows Update, and some may not install all Recommended updates. Для поддержки использования приложений, созданных с помощью инструментов Visual Studio 2015 и более поздних версий C++ на этих компьютерах, доступны распространяемые файлы универсальной библиотеки CRT, доступные для автономного распространения. To support the use of applications built by using the Visual Studio 2015 and later C++ toolsets on those machines, there are Universal CRT redistributable files available for offline distribution. Эти распространяемые файлы можно загрузить с одной из ссылок KB выше. Those redistributable files may be downloaded from one of the KB links above. Распространяемый компонент универсальной библиотеки CRT требует, чтобы компьютер был обновлен до текущего пакета обновления. The Universal CRT redistributable requires that the machine has been updated to the current service pack. Например, распространяемый пакет для Windows 7 будет устанавливаться только в Windows 7 с пакетом обновления 1 (SP1), но не в Windows 7 RTM. So, for example, the redistributable for Windows 7 will only install onto Windows 7 SP1, not Windows 7 RTM.

Читайте также:  Json чем открыть windows

Так как универсальная библиотека CRT является фундаментальной зависимостью библиотек C++, Visual C++ распространяемый пакет (VCRedist) устанавливает начальную версию универсальной библиотеки CRT (версии 10.0.10240) на компьютерах, на которых еще не установлены. Because the Universal CRT is a fundamental dependency of the C++ libraries, the Visual C++ redistributable (VCRedist) installs the initial version of the Universal CRT (version 10.0.10240) on machines that don’t already have one installed. Эта версия достаточна для удовлетворения зависимостей библиотеки C++. This version is sufficient to satisfy the C++ library dependencies. Если приложение зависит от более поздней версии универсальной библиотеки CRT, необходимо использовать Центр обновления Windows для полного обновления компьютера или установить эту версию явным образом. If your application depends on a more recent version of the Universal CRT, you must use Windows Update to bring your machine fully up-to-date, or install that version explicitly. Перед установкой VCRedist рекомендуется установить универсальную среду выполнения C с помощью Центр обновления Windows или MSU, чтобы избежать потенциальных перезапусков. It’s best to install the Universal C Runtime via Windows Update or an MSU before installing the VCRedist, to avoid potential multiple required reboots.

Не все операционные системы подходят для последней универсальной среды выполнения C с помощью Центр обновления Windows. Not all operating systems are eligible for the most recent Universal C Runtime via Windows Update. В Windows 10 версия, развернутая централизованно, соответствует версии операционной системы. On Windows 10, the centrally deployed version matches the version of the operating system. Чтобы обновить универсальную среду выполнения C, необходимо обновить операционную систему. To update the Universal C Runtime further, you must update the operating system. Для Windows Vista через Windows 8.1 Последняя доступная универсальная среда выполнения C в настоящее время основана на версии, включенной в годовщину обновления Windows 10, с дополнительными исправлениями (версия 10.0.14393). For Windows Vista through Windows 8.1, the latest available Universal C Runtime is currently based on the version included in the Windows 10 Anniversary Update, with additional fixes (version 10.0.14393).

Локальное развертывание Local deployment

Локальное развертывание универсальной CRT поддерживается, хотя и не рекомендуется по соображениям безопасности и производительности. Local deployment of the Universal CRT is supported, but not recommended for both performance and security reasons. Библиотеки DLL для локального развертывания входят в состав пакета Windows SDK и находятся в подкаталоге Kits\10\Redist\ucrt\DLLs согласно архитектуре компьютера. The DLLs for local deployment are included as part of the Windows SDK, in the Windows Kits\10\Redist\ucrt\DLLs subdirectory, by computer architecture. Требуемые библиотеки DLL содержат ucrtbase.dll и набор библиотек DLL переадресации APISet с именем api-ms-win-*.dll. The DLLs required include ucrtbase.dll and a set of APISet forwarder DLLs named api-ms-win-*.dll. Набор библиотек DLL, необходимых для каждой операционной системы, различается. The set of DLLs required on each operating system varies. Настоятельно рекомендуется включить все библиотеки DLL при развертывании локально. It’s highly recommended that you include all of the DLLs when you deploy locally.

Читайте также:  Minecraft windows 10 это бедрок

Для локального развертывания существует два ограничения, которые следует учитывать: There are two restrictions on local deployment to be aware of:

В Windows 10 универсальная CRT, расположенная в системном каталоге, используется всегда, даже если приложение имеет собственную локальную копию универсальной CRT. On Windows 10, the Universal CRT in the system directory is always used, even if an application includes an application-local copy of the Universal CRT. Это справедливо даже в том случае, если локальная копия является более новой, поскольку универсальная библиотека CRT является основным компонентом операционной системы в Windows 10. It’s true even when the local copy is newer, because the Universal CRT is a core operating system component on Windows 10.

В версиях Windows до Windows 8 универсальную CRT нельзя упаковать локально с подключаемым модулем, если он находится в каталоге, отличном от каталога основного исполняемого файла приложения. On versions of Windows before Windows 8, the Universal CRT can’t be packaged locally with a plugin, if it’s located in a directory other than the directory of the main app executable. В этом случае библиотеки DLL сервера пересылки APISet не могут успешно разрешить ucrtbase.dll. The APISet forwarder DLLs are unable to resolve the ucrtbase.dll successfully in this case. К рекомендуемым альтернативным способам относятся следующие. Some recommended alternative solutions include:

  • Статическая компоновка универсальной CRT. Statically link the Universal CRT,
  • Централизованное развертывание универсальной CRT. Centrally deploy the Universal CRT, or
  • Помещение файлов универсальной CRT в один каталог с приложением. Place the Universal CRT files in the same directory as the app.

Развертывание в Microsoft Windows XP Deployment on Microsoft Windows XP

Visual Studio 2015 и Visual Studio 2017 по-прежнему поддерживают разработку программного обеспечения для использования в Microsoft Windows XP. Visual Studio 2015 and Visual Studio 2017 continue to support development of software for use on Microsoft Windows XP. Для поддержки этой разработки версия универсальной библиотеки CRT работает в Microsoft Windows XP. To support this development, a version of the Universal CRT does work on Microsoft Windows XP. Для операционной системы Microsoft Windows XP больше не предоставляется ни основная, ни расширенная поддержка, поэтому централизованное развертывание универсальной CRT в Microsoft Windows XP отличается от других операционных систем. The Microsoft Windows XP operating system is no longer in mainstream or extended support, so central deployment of the Universal CRT onto Microsoft Windows XP is different from other operating systems.

Если распространяемый компонент Visual C++ установлен в Windows XP, он непосредственно устанавливает универсальную CRT и все его зависимости в системный каталог. When the Visual C++ redistributable is installed on Windows XP, it directly installs the Universal CRT and all of its dependencies into the system directory. Он не устанавливается или не зависит от Центр обновления Windows. It doesn’t install or depend on any Windows Update. Распространяемые модули слияния — файлы Microsoft_VCверсияCRT*.msm — делают то же самое. The Redistributable merge modules, the Microsoft_VCversionCRT*.msm files, do the same.

Локальное развертывание универсальной CRT в Windows XP осуществляется так же, как и в других поддерживаемых операционных системах. Local deployment of the Universal CRT on Windows XP is the same as on other supported operating systems.

Оцените статью