Project.

Execute(string, bool) Method

Summary

Executes a specific target.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
Project

Syntax

public void Execute(string targetName, bool forceDependencies)

Remarks

Global tasks are not executed.

Parameters

Name Type Description
targetName string The name of the target to execute.
forceDependencies bool Whether dependencies should be forced to execute

Return Value

Type Description
void