Class DotNetPack
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Builds selected projects and produces NuGet packages from their package metadata.
public sealed record DotNetPack : DotNetBuildOptionsCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<DotNetTargetCommand>, IEquatable<DotNetBuildOptionsCommand>, IEquatable<DotNetPack>Inheritance
Implements
Properties
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
IncludeSource
Includes source files in the symbols package and implies symbol-package creation.
public bool IncludeSource { get; init; }Property Value
IncludeSymbols
Creates an additional symbols package alongside the main NuGet package.
public bool IncludeSymbols { get; init; }Property Value
NoBuild
Skips building before the operation; required outputs must already exist.
public bool NoBuild { get; init; }Property Value
Serviceable
Marks the produced package as serviceable in its project properties.
public bool Serviceable { get; init; }Property Value
Version
Sets the package version for this pack invocation.
public string? Version { get; init; }