X Property

NAnt SDK Documentation - v0.92 |

# VjcTask.X Property

Specifies whether to disable language extensions.

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

#### Property Value

The value of this property must be either `all`, `net`, or an empty string.

#### Remarks

Corresponds to the `/x` flag.

See the Visual J# Reference for details.

#### Example

To disable only the .NET Framework extensions:`<vjc x='net'/>`

To disable the .NET Framework extensions and the VJ++ 6.0 extensions:`<vjc x='all'/>`

#### See Also

VjcTask Class | NAnt.DotNet.Tasks Namespace