none
CLR Header for .Net Framework 4 projects RRS feed

  • Question

  • Hi

    i'm using VS2010 SP1 for developing wpf application. Application's target framework is .Net 4.0 and platform is x64.

    'corflags.exe' returns following information for this assembly. 

    Version   : v4.0.30319
    CLR Header: 2.5
    PE        : PE32+
    CorFlags  : 1
    ILONLY    : 1
    32BIT     : 0
    Signed    : 0

    here, CLR Header is 2.5. does it mean that the application shall use CLR version 2.5.

    If application's .Net framework version is 'v4.0.30319' then which CLR version shall be used to run it? The one showed by CLR Header or CLR 4.0?

    is it possible to target the application to run on version 4.0 of CLR?

    Thanks.

    Friday, August 10, 2012 6:54 PM

Answers

  • It will use CLR 4.  (There was no "CLR 2.5") 

    This is the header format - not the runtime version. The CLR runtime version requirement is listed in "Version".

    "is it possible to target the application to run on version 4.0 of CLR?"

    This one will, since the version is v4.0.30319


    Reed Copsey, Jr. - http://reedcopsey.com
    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    • Marked as answer by Dhruvesh Monday, August 13, 2012 2:38 PM
    Friday, August 10, 2012 7:06 PM
    Moderator