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
using the specified build configuration and target platform
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator .Project - Containing Type
- Project
Parser Extensions
Syntax
public static CustomProjectParserResult ParseProject(this ICakeContext context, FilePath project, string configuration, string platform)
Examples
Returns the project information specific to a build configuration
CustomParseProjectResult project
= ParseProject(new FilePath("test.csproj"), configuration: "Release", platform: "x86");
Attributes
Type | Description |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | the cake context |
project | FilePath | the project filepath |
configuration | string | the build configuration |
platform | string | the build platform |
Return Value
Type | Description |
---|---|
Custom |
The parsed project |