NAnt SDK Documentation - v0.85-nightly-2005-11-09

VbcTask.OptionStrict Property

[This is preliminary documentation and subject to change.]

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

[Visual Basic]
<BooleanValidator, _  TaskAttribute(Name:="optionstrict", Required:=False, ExpandProperties:=True, ProcessXml:=True)>
Public Property OptionStrict As Boolean
[C#]
[BooleanValidator]
[TaskAttribute(Name="optionstrict", Required=False, ExpandProperties=True, ProcessXml=True)]
public bool OptionStrict {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