Summary
Loads a file's contents as NAnt properties.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks - Base Types
-
- Task
graph BT
Type-->Base0["Task"]
Type["LoadPropertiesTask"]
class Type type-node
Syntax
[TaskName("loadproperties")]
public class LoadPropertiesTask : Task
Examples
<loadproperties file="deployment.properties" />
Remarks
Each line in a .properties file stores a single property, with the name and value separated by an equals sign.
Empty lines and lines that start with a '#' character are skipped.
Attributes
Type | Description |
---|---|
TaskName |
Properties
Methods
Name | Value | Summary |
---|---|---|
ExecuteTask |
void |