CscTask.

Platform Property

Summary

Specifies which platform version of common language runtime (CLR) can run the output file.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
CscTask

Syntax

[TaskAttribute("platform")]
public string Platform { get; set; }

Remarks

Corresponds with the /platform flag.

Attributes

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

Value

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