VjcTask.

X Property

Summary

Specifies whether to disable language extensions.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
VjcTask

Syntax

[TaskAttribute("x")]
public string X { get; set; }

Examples

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'/>

Remarks

Corresponds to the /x flag.

See the Visual J# Reference for details.

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.

Value

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