Subsystem Property

NAnt SDK Documentation - v0.92 |

# IlasmTask.Subsystem Property

Instructs the compiler to set the Subsystem value in the PE header.

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

#### Property Value

An Int32 that represents the Subsystem value to set in the PE header. The most frequently value are 3 (console application) and 2 (GUI application).

#### Remarks

Corresponds to the `/SUBSYSTEM` flag.

#### See Also

IlasmTask Class | NAnt.DotNet.Tasks Namespace