Platform Property

NAnt SDK Documentation - v0.92 |

# CscTask.Platform Property

Specifies which platform version of common language runtime (CLR) can run the output file.

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

#### Property Value

The platform version of common language runtime (CLR) that can run the output file.

#### Remarks

Corresponds with the `/platform` flag.

#### See Also

CscTask Class | NAnt.DotNet.Tasks Namespace