ProjectParserExtensions.

IsLibrary(CustomProjectParserResult) Method

Summary

Checks if the project is a library

Syntax

public static bool IsLibrary(this CustomProjectParserResult projectParserResult)

Examples

Check if a parsed project is a library or exe
CustomParseProjectResult project = ParseProject(new FilePath("test.csproj"), "Release");
if (project.IsLibrary()) { ... }

Parameters

Name Type Description
projectParserResult CustomProjectParserResult the parsed project

Return Value

Type Description
bool true if the project is a library