NAnt SDK Documentation - v0.92

VbcTask.OptionOptimize Property

Specifies whether the /optimize option gets passed to the compiler. The default is false.

[Visual Basic]
<BooleanValidator, _  TaskAttribute(Name:="optionoptimize", Required:=False, ExpandProperties:=True, ProcessXml:=True)>
Public Property OptionOptimize As Boolean
[C#]
[BooleanValidator]
[TaskAttribute(Name="optionoptimize", Required=False, ExpandProperties=True, ProcessXml=True)]
public bool OptionOptimize {get; set;}

Property Value

true if the option should be passed to the compiler; otherwise, false.

Remarks

See the Microsoft.NET Framework SDK documentation for details.

See Also

VbcTask Class | NAnt.DotNet.Tasks Namespace