NAnt SDK Documentation - v0.92

VbcTask.OptionCompare Property

Specifies whether /optioncompare option gets passed to the compiler.

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

Property Value

text, binary, or an empty string. If the value is false or an empty string, the option will not be passed to the compiler.

Remarks

See the Microsoft.NET Framework SDK documentation for details.

See Also

VbcTask Class | NAnt.DotNet.Tasks Namespace