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

会有一股神秘感。 提交于 2019-12-12 02:09:42

问题


i can't find a reference to what 'c++ redistributables' are installed as part of

  • .NET Frameworks 3.5
  • .NET Frameworks 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.

Thanks in advance


回答1:


It is not a redistributable, the framework uses a private copy of the 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.

.NET 2.0 through 3.5 uses msvcr80.dll, a copy of the CRT that started with VS2005. It is installed in the side-by-side cache, as was common back then, c:\windows\winsxs directory. Using a .NET specific version number, 8.0.50727.xxxx. Current xxxx revision number is 9185.

.NET 4.5 and up uses msvcr120_clr0400.dll, a copy of the CRT that started with VS2012. It is installed in the Windows directory. I can't remember what 4.0 used.

You can't depend on these DLLs for your own use, the headers and link library are not available. Nor would that be wise.



来源:https://stackoverflow.com/questions/35631030/which-c-redistributable-is-installed-as-part-of-net-framework-3-5-and-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!