Table of Contents

Class DotNetBuildContext

Namespace
Cake.Frosting.PleOps.Recipe.Dotnet
Assembly
Cake.Frosting.PleOps.Recipe.dll

Build context information for .NET projects.

public class DotNetBuildContext
Inheritance
DotNetBuildContext
Inherited Members

Constructors

DotNetBuildContext()

Initializes a new instance of the DotNetBuildContext class.

public DotNetBuildContext()

Properties

ApplicationProjects

Gets the collection of projects to bundle.

public Collection<ProjectPublicationInfo> ApplicationProjects { get; }

Property Value

Collection<ProjectPublicationInfo>

Configuration

Gets or sets the solution configuration to build.

public string Configuration { get; set; }

Property Value

string

CoverageTarget

Gets or sets the target for the code coverage.

public int CoverageTarget { get; set; }

Property Value

int

NugetConfigPath

Gets or sets the path to the optional nuget configuration file.

public string NugetConfigPath { get; set; }

Property Value

string

Platform

Gets or sets the solution platform to build.

public string Platform { get; set; }

Property Value

string

PreviewNuGetFeed

Gets or sets the URL to the NuGet feed to deploy preview versions.

public string PreviewNuGetFeed { get; set; }

Property Value

string

PreviewNuGetFeedToken

Gets or sets the token to deploy in the preview NuGet feed.

public string PreviewNuGetFeedToken { get; set; }

Property Value

string

SolutionPath

Gets or sets the path to the solution file.

public string SolutionPath { get; set; }

Property Value

string

Remarks

It tries to auto-detect from the 'src' folder.

StableNuGetFeed

Gets or sets the URL to the NuGet feed to deploy stable versions.

public string StableNuGetFeed { get; set; }

Property Value

string

StableNuGetFeedToken

Gets or sets the token to deploy in the stable NuGet feed.

public string StableNuGetFeedToken { get; set; }

Property Value

string

TestConfigPath

Gets or sets the path to the test configuration runsettings file.

public string TestConfigPath { get; set; }

Property Value

string

TestFilter

Gets or sets the optional filter to run selective tests.

public string TestFilter { get; set; }

Property Value

string

ToolingVerbosity

Gets or sets the tooling verbosity.

public DotNetVerbosity ToolingVerbosity { get; set; }

Property Value

DotNetVerbosity

Remarks

Set from the current Cake verbosity.

Methods

ReadArguments(PleOpsBuildContext)

Initializes the information from the command-line arguments.

public void ReadArguments(PleOpsBuildContext context)

Parameters

context PleOpsBuildContext

Cake context.

Exceptions

NotSupportedException

Invalid verbosity.