Class DotNetClean
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Removes build outputs for selected projects, framework, runtime, and configuration.
public sealed record DotNetClean : DotNetTargetCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<DotNetTargetCommand>, IEquatable<DotNetClean>Inheritance
Implements
Constructors
DotNetClean()
Creates a command with defaults for the current build locality.
public DotNetClean()Properties
ArtifactsPath
Places outputs for all projects beneath this artifacts root, separated by project.
public string? ArtifactsPath { get; init; }Property Value
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
Configuration
Selects the named build configuration.
public string? Configuration { get; init; }Property Value
DisableBuildServers
Prevents reuse of persistent build servers during this invocation.
public bool DisableBuildServers { get; init; }Property Value
Framework
Selects one target framework declared by the project.
public string? Framework { get; init; }Property Value
Interactive
Allows authentication and other operations to prompt for input.
public bool Interactive { get; init; }Property Value
NoLogo
Suppresses the startup banner and copyright message.
public bool NoLogo { get; init; }Property Value
Output
Places command outputs in the specified directory.
public string? Output { get; init; }Property Value
Runtime
Targets the specified runtime identifier, such as win-x64.
public string? Runtime { get; init; }