NAnt SDK Documentation - v0.92 |

# Project.AttachBuildListeners Method

Attaches the specified build listeners to the Project.

[Visual Basic]
Public Sub AttachBuildListeners( _
ByVal listeners As BuildListenerCollection _
)
[C#]
public void AttachBuildListeners(
BuildListenerCollection listeners
);

#### Parameters

listeners
  The IBuildListener instances to attach to the Project.

#### Remarks

The currently attached IBuildListener instances will be detached before the new IBuildListener instances are attached.

#### See Also

Project Class | NAnt.Core Namespace