NAnt SDK Documentation - v0.92

CscTask.SupportsPlatform Property

Specifies whether the compiler for the active target framework supports limiting the platform on which the compiled code can run. The default is false.

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

See Also

CscTask Class | NAnt.DotNet.Tasks Namespace