ProjectParserExtensions.

GetExtension(CustomProjectParserResult) Method

Summary

Returns the parsed projects output assembly extension

Syntax

public static string GetExtension(this CustomProjectParserResult projectParserResult)

Examples

Gets the output assembly extension
CustomParseProjectResult project = ParseProject(new FilePath("test.csproj"), "Release");
project.GetExtension(); // ".dll" or ".exe"

Parameters

Name Type Description
projectParserResult CustomProjectParserResult the parsed project

Return Value

Type Description
string the output assembly's file extension