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
Checks if a SolutionProject is of type SolutionFolder
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator . Solution Parser Extensions - Containing Type
- Solution
Parser Extensions
Syntax
public static bool IsSolutionFolder(this SolutionProject project)
Examples
Identifies a SolutionProject as a solution folder type
// test.sln { proj1.csproj, solutionFolder }
var projects = ParseSolution(new FilePath("test.sln")).Projects;
projects[0].IsSolutionFolder(); // false
projects[1].IsSolutionFolder(); // true
Parameters
Name | Type | Description |
---|---|---|
project | SolutionProject | the solutionproject |
Return Value
Type | Description |
---|---|
bool | true if the project is a solution folder |