In visual studio 2005 how to compile without the /clr option?
visual studio project properties->Configuration properties->C/C++ ->Command Line->All options: here the /clr switch is enabled by default with many othe开发者_如何转开发r options, however i am unable to edit this.Project Properties on the General tab you should see a section for Project Defaults. Change Common Language Runtime Support to No Common Language Runtime Support
Just from the msdn.
Configuration Properties -> Common Language Runtime Support. Set it to "No support".
On the other hand how did you manage to enable this with a C++ project.
精彩评论