Class NuGetUpdate
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Updates packages in legacy NuGet project formats.
public sealed record NuGetUpdate : NuGetConfiguredCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NuGetCommand>, IEquatable<NuGetConfiguredCommand>, IEquatable<NuGetUpdate>Inheritance
Implements
Properties
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
ConfigPath
The solution or packages.config file whose dependencies are updated.
public AbsolutePath? ConfigPath { get; init; }Property Value
DependencyVersion
The rule used to select dependency versions.
public NuGetDependencyVersion? DependencyVersion { get; init; }Property Value
FileConflictAction
The action taken when an updated package conflicts with an existing file.
public NuGetFileConflictAction? FileConflictAction { get; init; }Property Value
Ids
Package IDs selected for update.
public IReadOnlyList<string> Ids { get; init; }Property Value
MSBuildPath
The directory containing the MSBuild executable to use.
public AbsolutePath? MSBuildPath { get; init; }Property Value
MSBuildVersion
The MSBuild version to use when locating MSBuild.
public string? MSBuildVersion { get; init; }Property Value
Prerelease
Includes prerelease packages.
public bool Prerelease { get; init; }Property Value
RepositoryPath
The directory containing installed packages.
public AbsolutePath? RepositoryPath { get; init; }Property Value
Safe
Restricts updates to versions with the same major and minor components.
public bool Safe { get; init; }Property Value
Sources
Package sources used instead of configured sources.
public IReadOnlyList<string> Sources { get; init; }Property Value
Version
The package version.
public string? Version { get; init; }