问题
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