Class DotnetCleanOptions
- Namespace
- Invex.Atom.Module.Dotnet.Cli
- Assembly
- Invex.Atom.Module.Dotnet.dll
public sealed record DotnetCleanOptions
- Inheritance
-
objectDotnetCleanOptions
Constructors
DotnetCleanOptions()
public DotnetCleanOptions()
Properties
ArtifactsPath
The artifacts path. All output from the project, including build, publish, and pack output, will go in subfolders under the specified path.
public string? ArtifactsPath { get; init; }
Property Value
- string
Configuration
The configuration to clean for. The default for most projects is 'Debug'.
public string? Configuration { get; init; }
Property Value
- string
DisableBuildServers
Force the command to ignore any persistent build servers.
public bool? DisableBuildServers { get; init; }
Property Value
- bool?
Framework
The target framework to clean for. The target framework must also be specified in the project file.
public string? Framework { get; init; }
Property Value
- string
GetItem
public string[]? GetItem { get; init; }
Property Value
- string[]
GetProperty
public string[]? GetProperty { get; init; }
Property Value
- string[]
GetResultOutputFile
public string[]? GetResultOutputFile { get; init; }
Property Value
- string[]
GetTargetResult
public string[]? GetTargetResult { get; init; }
Property Value
- string[]
Interactive
Allows the command to stop and wait for user input or action (for example to complete authentication).
public bool? Interactive { get; init; }
Property Value
- bool?
NoLogo
Do not display the startup banner or the copyright message.
public bool? NoLogo { get; init; }
Property Value
- bool?
Output
The directory containing the build artifacts to clean.
public string? Output { get; init; }
Property Value
- string
Runtime
The target runtime to clean for.
public string? Runtime { get; init; }
Property Value
- string
Target
Build these targets in this project. Use a semicolon or a comma to separate multiple targets, or specify each target separately.
public string[]? Target { get; init; }
Property Value
- string[]
Verbosity
Set the MSBuild verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].
public VerbosityOptions? Verbosity { get; init; }
Property Value
Methods
ToArguments()
Converts these options to individual command-line arguments, in schema order.
public IReadOnlyList<string> ToArguments()
Returns
- IReadOnlyList<string>
The arguments. Each option name and each value is a separate element, so values need no quoting.