Table of Contents

Class DotNetToolRestore

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Restores the .NET local tools in scope for the execution directory.

public sealed record DotNetToolRestore : ExecToolCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<DotNetToolRestore>

Inheritance

Implements

Constructors

DotNetToolRestore()

Creates a command with output volume derived from the current logging level.

public DotNetToolRestore()

Properties

AddSources

Additional NuGet package sources.

public IReadOnlyList<string> AddSources { get; init; }

Property Value

IReadOnlyList<string>

CommandParts

Gets every canonically ordered rendered command fragment.

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

Property Value

IReadOnlyList<string?>

ConfigFile

The NuGet configuration file used exclusively for restore.

public string? ConfigFile { get; init; }

Property Value

string?

DisableParallel

Whether parallel project restore is disabled.

public bool DisableParallel { get; init; }

Property Value

bool

IgnoreFailedSources

Whether unavailable package sources are treated as warnings.

public bool IgnoreFailedSources { get; init; }

Property Value

bool

Interactive

Whether restore may wait for interactive authentication or input.

public bool Interactive { get; init; }

Property Value

bool

NoCache

Whether NuGet caches are bypassed.

public bool NoCache { get; init; }

Property Value

bool

ToolManifest

An explicit local tool manifest path.

public string? ToolManifest { get; init; }

Property Value

string?

Verbosity

The restore logging verbosity.

public string? Verbosity { get; init; }

Property Value

string?