ProjectParserExtensions.

IsWebApplication(CustomProjectParserResult) Method

Summary

Checks if the project is a web application.

Syntax

public static bool IsWebApplication(this CustomProjectParserResult projectParserResult)

Examples

Check if a parsed project is a web application
CustomParseProjectResult project = ParseProject(new FilePath("test.csproj"), "Release");
if (project.IsWebApplication()) { ... }

Parameters

Name Type Description
projectParserResult CustomProjectParserResult the parsed project

Return Value

Type Description
bool true if the project is a web application