Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

error C1190: managed targeted code requires a '/clr' option

$
0
0

Found a lot on this error already, but my case does not get matched with any yet.

I am building a solution (having many projects) in debug mode, and one of them is throwing this error, I am using VS2010 and language is C++, .net version 4.0, earlier this project was compiled in vs2008 and then VS2010, and it was all ok, now I got a new machine which has just VS2010 installed and now facing this error.

main thing to notice is: Properties settings: 1) Project Configuration->General->/CLR is chosen 2) In C++->General-> No CLR support

I am having these settings since past, it's running all fine in my old machine in VS2010 only in the same debug mode.

What to do?


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>