Which 'C++ redistributable' is installed a

2019-09-16 19:29发布

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条回答
何必那么认真
2楼-- · 2019-09-16 19:42

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.

查看更多
登录 后发表回答