In the Project Properties dialog box, go to Configuration Properties | General. The "Common Language Runtime support" should be set to "No support for the duration of a regular language." Then rebuild.
EDIT . Also check the advanced linker options that start with the CLR. You should not see any / CLR * settings for these 3 items. If you use a manifest other than the standard, make sure it does not declare any CLR dependencies.
source
share