c++ - Managed target code requires a '\clr' option : Error -


when try batch build project, encounter error while have enabled clr runtime support.

my project can run no problem , receive error when try make batch build.

i have made lot of searched in google results enabling clr option. i'd know how can fix problem.

this kind of problem you'll run when make project setting changes while debugging project. settings stored per configuration. common mistake make change debug configuration forgetting make same change release configuration. kaboom when try release configuration built, happen when use batch build.

go slower. project + properties, configuration properties, general. note combobox labeled "configuration" in upper left corner. says "active (debug)". change "release". , note how "common language runtime support" setting changes flip , forth. make them same, /clr. use build + configuration manager make release build default configuration , use build + build build it. test it.

there might other settings you've changed need corrected release build well.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -