NAnt SDK Documentation - v0.92

FrameworkFunctions.GetTargetFramework Method 

Gets the identifier of the current target framework.

[Visual Basic]
<Function(Name:="get-target-framework")>
Public Function GetTargetFramework() As String
[C#]
[Function(Name="get-target-framework")]
public string GetTargetFramework();

Return Value

The identifier of the current target framework.

See Also

FrameworkFunctions Class | NAnt.Core.Functions Namespace