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
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
ConfigFile
The NuGet configuration file used exclusively for restore.
public string? ConfigFile { get; init; }Property Value
DisableParallel
Whether parallel project restore is disabled.
public bool DisableParallel { get; init; }Property Value
IgnoreFailedSources
Whether unavailable package sources are treated as warnings.
public bool IgnoreFailedSources { get; init; }Property Value
Interactive
Whether restore may wait for interactive authentication or input.
public bool Interactive { get; init; }Property Value
NoCache
Whether NuGet caches are bypassed.
public bool NoCache { get; init; }Property Value
ToolManifest
An explicit local tool manifest path.
public string? ToolManifest { get; init; }Property Value
Verbosity
The restore logging verbosity.
public string? Verbosity { get; init; }