2 out of 9 rated this helpful - Rate this topic

CorFlags Conversion Tool (CorFlags.exe)

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

NoteNote:

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

CorFlags.exe assembly [options]

Argument

Description

assembly

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

Option

Description

/32BIT+

Sets the 32BIT flag.

/32BIT-

Clears the 32BIT flag.

/?

Displays command syntax and options for the tool.

/Force

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

Important note Important Note:

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

/help

Displays command syntax and options for the tool.

/ILONLY+

Sets the ILONLY flag.

/ILONLY-

Clears the ILONLY flag.

/nologo

Suppresses the Microsoft startup banner display.

/RevertCLRHeader

Reverts the CLR header version to 2.0.

/UpgradeCLRHeader

Upgrades the CLR header version to 2.5.

Note Note:

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
There is no /64BIT+ Flag
As covered in http://blogs.msdn.com/joshwil/archive/2005/05/06/415191.aspx there is no documented way to go from AnyCpu OR x86 to x64$0 $0$0 $0 $0(Can we have one please?)$0