NAnt SDK Documentation - v0.85-nightly-2005-11-09

IlasmTask.Flags Property

[This is preliminary documentation and subject to change.]

Instructs the compiler to set the Flags value in the CLR header.

[Visual Basic]
<Int32Validator(MinValue:=-2147483648, MaxValue:=2147483647, Base:=10), _  TaskAttribute(Required:=False, Name:="flags", ExpandProperties:=True, ProcessXml:=True)>
Public Property Flags As Integer
[C#]
[Int32Validator(MinValue=-2147483648, MaxValue=2147483647, Base=10)]
[TaskAttribute(Required=False, Name="flags", ExpandProperties=True, ProcessXml=True)]
public int Flags {get; set;}

Property Value

An Int32 that represents the Flags value to set in the CLR header. The most frequently value are 1 (pre-IL code) and 2 (mixed code). The third bit indicating that the PE file is strong signed, is ignored.

Remarks

Corresponds to the /FLAGS flag.

See Also

IlasmTask Class | NAnt.DotNet.Tasks Namespace