Summary
Gets the identifier of the current target framework.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- FrameworkFunctions
Syntax
[Function("get-target-framework")]
public string GetTargetFramework()
Attributes
Type | Description |
---|---|
FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Return Value
Type | Description |
---|---|
string | The identifier of the current target framework. |