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
Loads an xml file
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator .FileExtensions - Containing Type
- FileExtensions
Syntax
public static XDocument LoadXml(this IFile xmlFile)
Examples
Load an xml document
XDocument doc = GetFile("./proj.csproj").LoadXml();
Parameters
Name | Type | Description |
---|---|---|
xmlFile | IFile | the xml file path |
Return Value
Type | Description |
---|---|
XDocument | An XDocument |