Can the CPP code compile to a stand alone program without .net framework support

Nov 10, 2010 at 5:26 PM

Hi,

I know I must ship .net framework if I use C#, how about CPP code? Can I use some static compile method to get an application without  the need of .net framework?

Coordinator
Nov 15, 2010 at 5:45 AM

Hello dead_lee

If it's native C++ (not C++/CLI), you do not need to ship .NET Framework with your application. However, you need to pay attention to deploying CRT:

http://msdn.microsoft.com/en-us/library/ms235299(VS.80).aspx

Jialiang Ge

Nov 15, 2010 at 2:56 PM

I see, so I can not use c# to build a prototype, then use c++ to build release version, because I will use c++/cli, and cause me must ship .net framework with me.