The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CorFlags Conversion Tool (CorFlags.exe) 

The CorFlags Conversion tool allows you to configure the CorFlags section of the header of a portable executable image.


This tool is new in the .NET Framework version 2.0.

CorFlags.exe assembly [options]


Argument Description


The name of the assembly for which to configure the CorFlags.

Option Description


Sets the 32BIT flag.


Clears the 32BIT flag.


Displays command syntax and options for the tool.


Forces an update even if the assembly is strong-named.


If you update a strong-named assembly, you must sign it again before executing its code.


Displays command syntax and options for the tool.


Sets the ILONLY flag.


Clears the ILONLY flag.


Suppresses the Microsoft startup banner display.


Reverts the CLR header version to 2.0.


Upgrades the CLR header version to 2.5.


Assemblies must have a CLR header version of 2.5 or greater to run natively.

If no options are specified, the CorFlags Conversion tool displays the flags for the specified assembly.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft