Summary
Checks whether the specified framework exists, and is valid.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- FrameworkFunctions
Syntax
[Function("exists")]
public bool Exists(string framework)
Attributes
Type | Description |
---|---|
FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Parameters
Name | Type | Description |
---|---|---|
framework | string | The framework to test. |
Return Value
Type | Description |
---|---|
bool |
true if the specified framework exists ; otherwise,
false .
|