CscTask.

LangVersion Property

Summary

Causes the compiler to only accept syntax that is included in a given specification.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
CscTask

Syntax

[TaskAttribute("langversion")]
public string LangVersion { get; set; }

Remarks

Corresponds with the /langversion flag.

Attributes

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

Value

Type Description
string