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 default platform (AnyCpu)
- 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)
Examples
Returns the project information specific to a build configuration
CustomParseProjectResult project = ParseProject(new FilePath("test.csproj"), configuration: "Release");
Remarks
Defaults to 'AnyCPU' platform, use overload to override this default
Attributes
Type | Description |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | the cake context |
project | FilePath | the project filepath |
configuration | string | the build configuration |
Return Value
Type | Description |
---|---|
Custom |
The parsed project |