1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can I get /clr support it's giving errors

Discussion in 'Win32' started by sujan.dasmahapatra, Jan 24, 2012.

  1. sujan.dasmahapatra

    sujan.dasmahapatra Member

    Joined:
    Jun 11, 2009
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    :)Dear Friends
    I have a mfc application. When I compile with option of /clr support it gives errors as below.
    How can I make the code managed. Please give me some hints.
    Code:
    1>------ Build started: Project: RevolutionProj, Configuration: Debug Win32 ------
    1>Build started 1/24/2012 5:25:52 PM.
    1>InitializeBuildStatus:
    1>  Touching "Debug\RevolutionProj.unsuccessfulbuild".
    1>GenerateTargetFrameworkMonikerAttribute:
    1>Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
    1>cl : Command line error D8016: '/ZI' and '/clr' command-line options are incompatible
    1>
    1>Build FAILED.
    1>
    1>Time Elapsed 00:00:01.09
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    
     

Share This Page