Heisenbug
Heisenbug

Reputation: 39184

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 ?

Upvotes: 1

Views: 4369

Answers (1)

Ove
Ove

Reputation: 6317

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

Upvotes: 4

Related Questions