Class DotNetToolUpdate
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Updates a global, local-manifest, or explicit-path .NET tool.
public sealed record DotNetToolUpdate : ExecToolCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<DotNetToolUpdate>Inheritance
Implements
Properties
AddSources
Additional NuGet package sources.
public IReadOnlyList<string> AddSources { get; init; }Property Value
All
Whether every tool in the selected manifest or scope is updated.
public bool All { get; init; }Property Value
AllowDowngrade
Whether an explicit downgrade is allowed.
public bool AllowDowngrade { get; init; }Property Value
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
ConfigFile
An explicit NuGet configuration file.
public string? ConfigFile { get; init; }Property Value
DisableParallel
Whether parallel restore is disabled.
public bool DisableParallel { get; init; }Property Value
Framework
An explicit target framework.
public string? Framework { get; init; }Property Value
Global
Whether the global tool installation is updated.
public bool Global { get; init; }Property Value
IgnoreFailedSources
Whether unavailable package sources are treated as warnings.
public bool IgnoreFailedSources { get; init; }Property Value
Interactive
Whether authentication may prompt interactively.
public bool Interactive { get; init; }Property Value
Local
Whether the local tool manifest is updated.
public bool Local { get; init; }Property Value
NoHttpCache
Whether NuGet caches are bypassed.
public bool NoHttpCache { get; init; }Property Value
Package
The tool package ID.
public string? Package { get; init; }Property Value
Prerelease
Whether prerelease packages are eligible.
public bool Prerelease { get; init; }Property Value
Sources
Replacement NuGet package sources.
public IReadOnlyList<string> Sources { get; init; }Property Value
ToolManifest
An explicit local tool manifest.
public string? ToolManifest { get; init; }Property Value
ToolPath
An explicit tool installation directory.
public string? ToolPath { get; init; }Property Value
Verbosity
The restore logging verbosity.
public string? Verbosity { get; init; }Property Value
Version
An explicit package version.
public string? Version { get; init; }