SolutionParserExtensions.

IsSolutionFolder(SolutionProject) Method

Summary

Checks if a SolutionProject is of type SolutionFolder

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