This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Incubator.
Summary
Returns all <Target> build targets declared in the project (with their
BeforeTargets / AfterTargets attributes and nested <Exec> commands).
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator .XDocumentExtensions - Containing Type
- XDocumentExtensions
Syntax
public static ICollection<BuildTarget> GetTargets(this XDocument document)
Parameters
| Name | Type | Description |
|---|---|---|
| document | XDocument | the document |
Return Value
| Type | Description |
|---|---|
| ICollection |
the collection of build targets |
