Gets the Common Language Runtime version of the framework.
The Common Language Runtime version of the framework.
When ClrVersion is a null reference (Nothing in Visual Basic), the framework is not considered valid.
| Exception Type | Condition |
|---|---|
| ArgumentException | The framework is not valid. |
FrameworkInfo Class | NAnt.Core Namespace