NAnt SDK Documentation - v0.92

CscTask.SupportsLangVersion Property

Specifies whether the compiler for the active target framework supports accepting only a specific language syntax. The default is false.

[Visual Basic]
<FrameworkConfigurable(Name:="supportslangversion", Required:=False, ExpandProperties:=True)>
Public Property SupportsLangVersion As Boolean
[C#]
[FrameworkConfigurable(Name="supportslangversion", Required=False, ExpandProperties=True)]
public bool SupportsLangVersion {get; set;}

See Also

CscTask Class | NAnt.DotNet.Tasks Namespace