ProjectParserExtensions.

IsGlobalTool(CustomProjectParserResult) Method

Summary

Checks if the project is for a global tool

Syntax

public static bool IsGlobalTool(this CustomProjectParserResult projectParserResult)

Examples

Check if a parsed project is a global tool
CustomParseProjectResult project = ParseProject(new FilePath("test.csproj"), "Release");
if (project.IsGlobalTool()) { ... }

Parameters

Name Type Description
projectParserResult CustomProjectParserResult the parsed project

Return Value

Type Description
bool true if the project is a global tool