Table of Contents

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

string?

CommandParts

Gets every canonically ordered rendered command fragment.

protected override IReadOnlyList<string?> CommandParts { get; }

Property Value

IReadOnlyList<string?>

Configuration

Selects the named build configuration.

public string? Configuration { get; init; }

Property Value

string?

DisableBuildServers

Prevents reuse of persistent build servers during this invocation.

public bool DisableBuildServers { get; init; }

Property Value

bool

Framework

Selects one target framework declared by the project.

public string? Framework { get; init; }

Property Value

string?

Interactive

Allows authentication and other operations to prompt for input.

public bool Interactive { get; init; }

Property Value

bool

Suppresses the startup banner and copyright message.

public bool NoLogo { get; init; }

Property Value

bool

Output

Places command outputs in the specified directory.

public string? Output { get; init; }

Property Value

string?

Runtime

Targets the specified runtime identifier, such as win-x64.

public string? Runtime { get; init; }

Property Value

string?