Table of Contents

Class WorkflowBuildOptionsExtensions.StepsBuildOptions.SetupDotnetOptions

Namespace
Invex.Atom.Workflows.Options
Assembly
Invex.Atom.Workflows.dll

Provides factories for creating SetupDotnetStep options for common .NET SDK versions.

public sealed class WorkflowBuildOptionsExtensions.StepsBuildOptions.SetupDotnetOptions
Inheritance
object
WorkflowBuildOptionsExtensions.StepsBuildOptions.SetupDotnetOptions

Constructors

SetupDotnetOptions()

public SetupDotnetOptions()

Methods

Dotnet100X(bool, string?)

Creates a step that installs the latest .NET 10.0 SDK.

public SetupDotnetStep Dotnet100X(bool cache = false, string? lockFile = null)

Parameters

cache bool

Whether to enable NuGet package caching.

lockFile string

An optional path to a lock file used as the cache key.

Returns

SetupDotnetStep

A SetupDotnetStep option.

Dotnet110X(bool, string?)

Creates a step that installs the latest .NET 11.0 SDK.

public SetupDotnetStep Dotnet110X(bool cache = false, string? lockFile = null)

Parameters

cache bool

Whether to enable NuGet package caching.

lockFile string

An optional path to a lock file used as the cache key.

Returns

SetupDotnetStep

A SetupDotnetStep option.

Dotnet80X(bool, string?)

Creates a step that installs the latest .NET 8.0 SDK.

public SetupDotnetStep Dotnet80X(bool cache = false, string? lockFile = null)

Parameters

cache bool

Whether to enable NuGet package caching.

lockFile string

An optional path to a lock file used as the cache key.

Returns

SetupDotnetStep

A SetupDotnetStep option.

Dotnet90X(bool, string?)

Creates a step that installs the latest .NET 9.0 SDK.

public SetupDotnetStep Dotnet90X(bool cache = false, string? lockFile = null)

Parameters

cache bool

Whether to enable NuGet package caching.

lockFile string

An optional path to a lock file used as the cache key.

Returns

SetupDotnetStep

A SetupDotnetStep option.

From(Template?, DotnetQuality?, bool, string?)

Creates a step that installs a custom .NET SDK version.

public SetupDotnetStep From(Template? dotnetVersion = null, SetupDotnetStep.DotnetQuality? quality = null, bool cache = false, string? lockFile = null)

Parameters

dotnetVersion Template

An optional expression that resolves to the SDK version to install.

quality SetupDotnetStep.DotnetQuality?

An optional SDK quality channel (e.g., preview, GA).

cache bool

Whether to enable NuGet package caching.

lockFile string

An optional path to a lock file used as the cache key.

Returns

SetupDotnetStep

A SetupDotnetStep option.