Class DotNetBuildContext
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
Configuration
Gets or sets the solution configuration to build.
public string Configuration { get; set; }
Property Value
CoverageTarget
Gets or sets the target for the code coverage.
public int CoverageTarget { get; set; }
Property Value
NugetConfigPath
Gets or sets the path to the optional nuget configuration file.
public string NugetConfigPath { get; set; }
Property Value
Platform
Gets or sets the solution platform to build.
public string Platform { get; set; }
Property Value
PreviewNuGetFeed
Gets or sets the URL to the NuGet feed to deploy preview versions.
public string PreviewNuGetFeed { get; set; }
Property Value
PreviewNuGetFeedToken
Gets or sets the token to deploy in the preview NuGet feed.
public string PreviewNuGetFeedToken { get; set; }
Property Value
SolutionPath
Gets or sets the path to the solution file.
public string SolutionPath { get; set; }
Property Value
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
StableNuGetFeedToken
Gets or sets the token to deploy in the stable NuGet feed.
public string StableNuGetFeedToken { get; set; }
Property Value
TestConfigPath
Gets or sets the path to the test configuration runsettings file.
public string TestConfigPath { get; set; }
Property Value
TestFilter
Gets or sets the optional filter to run selective tests.
public string TestFilter { get; set; }
Property Value
ToolingVerbosity
Gets or sets the tooling verbosity.
public DotNetVerbosity ToolingVerbosity { get; set; }
Property Value
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
PleOpsBuildContextCake context.
Exceptions
- NotSupportedException
Invalid verbosity.