NAnt SDK Documentation - v0.92

FrameworkInfo.Version Property

Gets the version of the framework.

[Visual Basic]
Public ReadOnly Property Version As Version
[C#]
public System.Version Version {get;}

Property Value

The version of the framework.

Remarks

When Version is not configured, the framework is not considered valid.

Exceptions

Exception Type Condition
ArgumentException The framework is not valid.

See Also

FrameworkInfo Class | NAnt.Core Namespace