views:

36

answers:

2

Hi all,

My questions title says it all.. Are VC Runtimes part of .Net framework? also how can I get the VC 10.0 Runtime for download?

+2  A: 

I think this page (x86) and this one (x64) are what you're after:

The Microsoft Visual C++ 2010 Redistributable Package installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2010 installed.

(I don't know if they're part of .NET 4 itself - are you writing a native app which also requires .NET 4 to be installed?)

Jon Skeet
@Jon, thanks for the links.. I will accept @Hans answer for his explanation.
Abdel Olakara
+1  A: 

It does but it has a private copy, c:\windows\system32\msvcr100_clr0400.dll. It is not suitable for use by a C or C++ program, it needs msvcr100.dll and msvcp100.dll. Local deployment is now an option, you might want to take advantage of it.

The merge modules you'd need if you want to use an installer are already on your machine. c:\program files\common files\merge modules. Using a Setup project is probably the easiest way. Add it with Project + Properties, Prerequisites, tick "Visual C++ 2010 Runtime libraries". The download links Jon gave you are suitable if you want your customer to prep the machine.

Hans Passant