NAnt SDK Documentation - v0.92

Project.PlatformName Property

Gets the name of the platform on which NAnt is currently running.

[Visual Basic]
Public ReadOnly Property PlatformName As String
[C#]
public string PlatformName {get;}

Property Value

The name of the platform on which NAnt is currently running.

Remarks

Possible values are:

Exceptions

Exception TypeCondition
BuildExceptionNAnt does not support the current platform.

See Also

Project Class | NAnt.Core Namespace