NAnt SDK Documentation - v0.85-nightly-2005-11-09

FrameworkFunctions.GetClrVersion Method 

[This is preliminary documentation and subject to change.]

Gets the Common Language Runtime version of the specified framework.

[Visual Basic]
<Function(Name:="get-clr-version")>
Public Function GetClrVersion( _
   ByVal framework As String _
) As Version
[C#]
[Function(Name="get-clr-version")]
public Version GetClrVersion(
   string framework
);

Parameters

framework
The framework of which the Common Language Runtime version should be returned.

Return Value

The Common Language Runtime version of the specified framework.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.FrameworkFunctions.GetClrVersion(System.String)

Exceptions

Exception Type Condition
ArgumentException framework is not a valid framework identifier.

See Also

FrameworkFunctions Class | NAnt.Core.Functions Namespace | GetRuntimeFramework | GetTargetFramework