NAnt SDK Documentation - v0.92 |
|
CscTask.Optimize Property
Specifies whether the compiler should perform optimizations to the make output files smaller, faster, and more effecient. The default is false.
[Visual Basic]
<TaskAttribute(Name:="optimize", Required:=False, ExpandProperties:=True, ProcessXml:=True), _
BooleanValidator>
Public Property Optimize As
Boolean
[C#]
[TaskAttribute(Name="optimize", Required=False, ExpandProperties=True, ProcessXml=True)]
[BooleanValidator]
public
bool Optimize {get; set;}
Property Value
true if the compiler should perform optimizations; otherwise, false.
Remarks
Corresponds with the /optimize[+|-]
flag.
See Also
CscTask Class | NAnt.DotNet.Tasks Namespace