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?


Recommended Answers

All 3 Replies

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.