Class DotNetBuild
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Compiles selected projects and their dependencies, restoring first unless disabled.
public sealed record DotNetBuild : DotNetBuildOptionsCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<DotNetTargetCommand>, IEquatable<DotNetBuildOptionsCommand>, IEquatable<DotNetBuild>Inheritance
Implements
Properties
Architecture
Shorthand target architecture combined with the default runtime identifier.
public string? Architecture { get; init; }Property Value
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
Debug
Enables additional CLI debug diagnostics.
public bool Debug { get; init; }Property Value
Framework
Builds only the specified target framework, which must exist in the project.
public string? Framework { get; init; }Property Value
NoDependencies
Builds the selected project without building project references.
public bool NoDependencies { get; init; }Property Value
NoIncremental
Forces a clean dependency graph evaluation instead of an incremental build.
public bool NoIncremental { get; init; }Property Value
OperatingSystem
Shorthand target operating system combined with the default runtime identifier.
public string? OperatingSystem { get; init; }Property Value
SelfContained
Controls whether the .NET runtime is bundled; null leaves project defaults unchanged.
public bool? SelfContained { get; init; }Property Value
- bool?
Version
Sets the build version.
public string? Version { get; init; }