/clr option

anyone know what is the  

'/clr' option

cos when i try to debug my win 32 console application,i got an error .The error was :

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

Thanks.

 




Answer this question

/clr option

  • Legolars

    Your code is probably using CLR specific feaures. An example would be doing:
     #using <mscorlib.dll>

    /CLR is used to generate managed applications. To understand more about /CLR and managed applications in general, take a look at http://msdn2.microsoft.com/en-us/library/k8d11d4s

    Thanks,
      Ayman Shoukry
      VC++ Team


  • /clr option