Does anyone know how to change the default behavior of the /clr switch to make all files unmanaged by default? The default behavior of the switch is to make all files managed. I know I can mark each .cpp file individually, but there are ALOT of them…
Share
I ended up leaving the switch OFF in the project properties and then tried turning it on only for those .cpp files that needed it, this worked once I fixed the incompatible options like /RTC1 and /Gm, etc.
EDIT In solution explorer, you can right click on the .cpp file and set properties for it, and these will be separate from your project settings.