Table of Contents

Class DotnetToolRestoreOptions

Namespace
Invex.Atom.Module.Dotnet.Cli
Assembly
Invex.Atom.Module.Dotnet.dll
public sealed record DotnetToolRestoreOptions
Inheritance
object
DotnetToolRestoreOptions

Constructors

DotnetToolRestoreOptions()

public DotnetToolRestoreOptions()

Properties

AddSource

Add an additional NuGet package source to use during installation.

public string[]? AddSource { get; init; }

Property Value

string[]

ConfigFile

The NuGet configuration file to use.

public string? ConfigFile { get; init; }

Property Value

string

DisableParallel

Prevent restoring multiple projects in parallel.

public bool? DisableParallel { get; init; }

Property Value

bool?

IgnoreFailedSources

Treat package source failures as warnings.

public bool? IgnoreFailedSources { get; init; }

Property Value

bool?

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?

NoHttpCache

Do not cache packages and http requests.

public bool? NoHttpCache { get; init; }

Property Value

bool?

ToolManifest

Path to the manifest file.

public string? ToolManifest { 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

VerbosityOptions?

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.