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
Parses a csproj file into a strongly typed
CustomProjectParserResult object
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator .Project - Containing Type
- Project
Parser Extensions
Syntax
public static CustomProjectParserResult ParseProjectFile(this IFile projectFile, string configuration, string platform = "AnyCPU")
Examples
Returns the project information specific to a build configuration
CustomParseProjectResult project
= new File("./test.csproj").ParseProject(configuration: "Release", platform: "x86");
Parameters
| Name | Type | Description |
|---|---|---|
| projectFile | IFile | the project file |
| configuration | string | the build configuration |
| platform | string | the build configuration platform, defaults to AnyCPU if not specified |
Return Value
| Type | Description |
|---|---|
| Custom |
The parsed project |
