tags:

views:

61

answers:

3

How to build pure C++ application so that it doesn't have any dependencies? i am using VS 2008. I mean, dependencies like dotnetfx framework, etc, other things required by managed C++ programs.

+1  A: 

If you want to create a native C++ project - that does not use the .NET framework then you want to create a new Win32 project.

Goto File -> new project choose Win32 project (either console or windows) it's located under "other languages" -> "Visual C++"

Dror Helper
+2  A: 

I think as long as you're not using the /clr compiler flag in any way you'd be ok. See here for an article about compiling native C++ programs.

ho1
+3  A: 

Just make sure you have the following setting in your general project options No Common Language Runtime support. The project is build without /CLR switch, so there is no .NET framework in it.

Raladan