NAnt SDK Documentation - v0.92

MidlTask.Align Property

The /align switch is functionally the same as the MIDL /Zp option and is recognized by the MIDL compiler solely for backward compatibility with MkTypLib.

[Visual Basic]
<TaskAttribute(Name:="align", Required:=False, ExpandProperties:=True, ProcessXml:=True)>
Public Property Align As String
[C#]
[TaskAttribute(Name="align", Required=False, ExpandProperties=True, ProcessXml=True)]
public string Align {get; set;}

Remarks

The alignment value can be 1, 2, 4, or 8.

See Also

MidlTask Class | NAnt.VisualCpp.Tasks Namespace