IlasmTask.

Alignment Property

Summary

Instructs the compiler to set the FileAlignment value in the PE header.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
IlasmTask

Syntax

[TaskAttribute("alignment")]
[Int32Validator()]
public int Alignment { get; set; }

Remarks

Corresponds to the /ALIGNMENT flag.

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
Int32ValidatorAttribute Indicates that property should be able to be converted into a int within the given range.

Value

Type Description
int An int that represents the FileAlignment value to set in the PE header. The value must be a power of 2, in range from 512 to 65536.