简体   繁体   English

哪个“ C ++可再发行文件”作为.NET Framework 3.5和4的一部分安装?

[英]Which 'C++ redistributable' is installed as part of .NET framework 3.5 and 4?

i can't find a reference to what 'c++ redistributables' are installed as part of 我找不到对作为“ C ++可再发行组件”的一部分安装的引用

  • .NET Frameworks 3.5 .NET Frameworks 3.5
  • .NET Frameworks 4 .NET Framework 4

The problem is; 问题是;
The Customer needs to know which C++ redistributables will be installed on the target machine as a result of our software. 客户需要知道由于我们的软件将在目标计算机上安装哪些C ++可再发行文件。

Thanks in advance 提前致谢

It is not a redistributable, the framework uses a private copy of the CRT. 它不是可重新分发的,框架使用CRT的私有副本。 It is deployed when you install the framework. 在安装框架时将对其进行部署。 Probably necessary so they can fix their own bugs and security flaws should they arise, independent from the C/C++ distribution. 可能有必要,以便他们可以独立于C / C ++发行版而修复自己的错误和安全漏洞。

.NET 2.0 through 3.5 uses msvcr80.dll, a copy of the CRT that started with VS2005. .NET 2.0到3.5使用msvcr80.dll,它是从VS2005开始的CRT的副本。 It is installed in the side-by-side cache, as was common back then, c:\\windows\\winsxs directory. 它安装在并行缓存中,就像当时常见的c:\\ windows \\ winsxs目录一样。 Using a .NET specific version number, 8.0.50727.xxxx. 使用.NET特定版本号8.0.50727.xxxx。 Current xxxx revision number is 9185. 当前的xxxx修订号是9185。

.NET 4.5 and up uses msvcr120_clr0400.dll, a copy of the CRT that started with VS2012. .NET 4.5及更高版本使用msvcr120_clr0400.dll,这是从VS2012开始的CRT的副本。 It is installed in the Windows directory. 它安装在Windows目录中。 I can't remember what 4.0 used. 我不记得使用了什么4.0。

You can't depend on these DLLs for your own use, the headers and link library are not available. 您不能自己使用这些DLL,因此标头和链接库不可用。 Nor would that be wise. 这也不是明智的。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM