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 <ProjectReference> entries, resolving Include paths relative to
rootPath.
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator .XDocumentExtensions - Containing Type
- XDocumentExtensions
Syntax
public static ICollection<ProjectReference> GetProjectReferences(this XDocument document, DirectoryPath rootPath)
Parameters
| Name | Type | Description |
|---|---|---|
| document | XDocument | the document |
| rootPath | DirectoryPath | the project root directory used for path resolution |
Return Value
| Type | Description |
|---|---|
| ICollection |
the collection of project references |
