Hi,

If you create a CLR windows form project in Visual Studio C++, when you distribute your programs does the user need the .NET Framework or just the Visual C++ 2010 Runtime Redist?

Thanks.

If your program uses the .NET framework then obviously that's a dependency required on the target machine.

You should need BOTH (the platform and the runtime).
Check this link
I assume installing the platform also installs the runtime.

Member Avatar

You can compile the Visual C++ code to native code if you need. This will mean it is not managed code and will no longer require the CLR.

So, really, it's your choice.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.