AppVeyorEnvironmentInfo.

Configuration Property

Summary

Gets the configuration name set on build tab of project settings (or through configuration parameter in appveyor.yml).

Syntax

public string Configuration { get; }

Examples

if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
{
    Information(
        @"Configuration:{0},
        BuildSystem.AppVeyor.Environment.Configuration
        );
}
else
{
    Information("Not running on AppVeyor");
}
if (AppVeyor.IsRunningOnAppVeyor)
{
    Information(
        @"Configuration:{0},
        AppVeyor.Environment.Configuration
        );
}
else
{
    Information("Not running on AppVeyor");
}

Value

Type Description
string The configuration name set on build tab of project settings (or through configuration parameter in appveyor.yml).