c++visual-studio-2010c++-cli

Visual studio 2010 automatically switched to C++/CLI compiler


I've been working to a C++/CLI project in the last few months.

Now I'm back to C++ but seems that VS 2010 has set to use C++/CLI compiler even for standard C++ projects.

I just created a new C++ empty project but when I compile the code, it seems using C++/CLI compiler. Intellisense is disabled as well.

How can I restore the default C++ compiler to my project ?


Solution

  • Choose Project -> Properties from the menu bar. In the Project properties window, under Configuration Properties -> General, make sure that Common Language Runtime Support is set to No Common Language Runtime Support.

    enter image description here