简体   繁体   English

用于应用程序本地部署的MSVC 2015 Universal CRT

[英]MSVC 2015 Universal CRT for app-local deployment

It was announced that the Universal CRT would be a re-distributable DLL such that app-local deployment would still be possible. 据宣布,Universal CRT将是一个可重新分发的DLL,因此应用程序本地部署仍然是可能的。

I have installed the Visual Studio 2015 Express Edition and I was looking for ucrtbase.dll in the SDK directories, but I could not find anything. 我已经安装了Visual Studio 2015 Express Edition,我在SDK目录中寻找ucrtbase.dll,但我找不到任何东西。 The directory that I looked into was "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Kits\\10", but that only has the debug version of the CRT under "Microsoft.UniversalCRT.Debug". 我查看的目录是“C:\\ Program Files(x86)\\ Microsoft SDKs \\ Windows Kits \\ 10”,但在“Microsoft.UniversalCRT.Debug”下只有CRT的调试版本。

I prefer not to copy any DLLs from my system, I always only package files from the "Redist" directories. 我不想从我的系统中复制任何DLL,我总是只从“Redist”目录中打包文件。 So for instance (like with the previous versions of MSVC), I re-distribute files from "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\redist\\x86\\Microsoft.VC140.CRT" with x86 builds of my app. 因此,例如(与之前版本的MSVC一样),我从“C:\\ Program Files(x86)\\ Microsoft Visual Studio 14.0 \\ VC \\ redist \\ x86 \\ Microsoft.VC140.CRT”重新分发文件,其中包含x86版本的我的应用。

Is there a package that I can download that contains the ucrtbase.dll, or perhaps a Visual Studio or SDK update? 我可以下载包含ucrtbase.dll或Visual Studio或SDK更新的软件包吗?

Also I am not sure at this point whether just the ucrtbase.dll will be sufficient, as the applications seem to be linked to the stub DLLs api-*.dll, and I'm not sure whether those need to be re-distributed as well. 此外,我不确定是否只是ucrtbase.dll就足够了,因为应用程序似乎链接到存根DLL api - * .dll,我不确定是否需要将它们重新分发为好。

This blog post under Distributing Software that uses the Universal CRT section describes all the cases in detail, with a big red update notice concerning app-local deployment: 使用Universal CRT部分的Distributing Software下的博客文章详细描述了所有案例,并提供了有关应用程序本地部署的重大红色更新通知:

Updated September 11, 2015: App-local deployment of the Universal CRT is supported. 2015年9月11日更新:支持通用CRT的应用程序本地部署。 To obtain the binaries for app-local deployment, install the Windows Software Development Kit (SDK) for Windows 10. The binaries will be installed to C:\\Program Files (x86)\\Windows Kits\\10\\Redist\\ucrt. 要获取应用程序本地部署的二进制文件,请安装Windows 10的Windows软件开发工具包(SDK)。二进制文件将安装到C:\\ Program Files(x86)\\ Windows Kits \\ 10 \\ Redist \\ ucrt。 You will need to copy all of the DLLs with your app (note that the set of DLLs are necessary is different on different versions of Windows, so you must include all of the DLLs in order for your program to run on all supported versions of Windows) 您需要使用您的应用程序复制所有DLL(请注意,在不同版本的Windows上,所需的DLL集是不同的,因此您必须包含所有DLL,以便您的程序在所有受支持的Windows版本上运行)

You can download UCRT from Microsoft Donwload Center . 您可以从Microsoft Donwload Center下载UCRT。 UCRT is part of OS now, for Vista SP2/7/8/8.1 it is distributed by Update Center. UCRT现在是OS的一部分,对于Vista SP2 / 7/8 / 8.1,它由Update Center分发。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 用于应用程序本地部署的 Visual C++ 2015 可再发行 DLL - Visual C++ 2015 redistributable DLLs for app-local deployment 非托管 C++ 程序集的加载顺序(特别是 VS C++ 2015 可再发行组件和通用 CRT) - The loading order for unmanaged C++ assemblies ( specifically VS C++ 2015 redistributables and Universal CRT) 如何在Visual Studio 2015中更新我的C ++项目以使用新的Universal CRT? - How to I update my C++ project in Visual Studio 2015 to use the new Universal CRT? Visual Studio 2015 运行时依赖项或如何摆脱 Universal CRT? - Visual studio 2015 run-time dependencies or how to get rid of Universal CRT? MSVC _Crt *宏在RAII代码中使用不安全 - MSVC _Crt* Macros Are not Safe to use in RAII Code 如何使用MSVC2015将带有局部变量的参数的函数包装器放入容器中? - How to emplace a function wrapper with some arguments from local variables into container with MSVC2015? Visual Studio 2015 C ++应用程序需要客户端客户端上的api-ms-win-crt-runtime-l1-1-0.dll - Visual Studio 2015 C++ app requires api-ms-win-crt-runtime-l1-1-0.dll on client clients C ++通用Windows应用程序仅在安装驱动器上的VS2015项目时有效 - C++ Universal Windows app only works when VS2015 project on install drive 如何在MSVC 2015上使用OpenMP获得c声 - How to get clang with OpenMP working on MSVC 2015 将QT Creator 5.8与MSVC 2015编译器配合使用 - Using QT Creator 5.8 with MSVC 2015 compiler
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM