MyGetProvider.

IsRunningOnMyGet Property

Summary

Gets a value indicating whether the current build is running on MyGet.
Namespace
Cake.Common.Build.MyGet
Containing Type
MyGetProvider

Syntax

public bool IsRunningOnMyGet { get; }

Examples

if (BuildSystem.MyGet.IsRunningOnMyGet)
{
    Information("Running on MyGet");
}
else
{
    Information("Not running on MyGet");
}

Value

Type Description
bool true if the current build is running on MyGet; otherwise, false.