Table of Contents

Class DotnetRestoreOptions

Namespace
Ando.Operations
Assembly
ando.dll

Options for 'dotnet restore' command.

public class DotnetRestoreOptions
Inheritance
DotnetRestoreOptions
Inherited Members

Properties

NoCache

Bypass the NuGet cache when restoring.

public bool NoCache { get; set; }

Property Value

bool

Runtime

Target runtime identifier for runtime-specific restore.

public string? Runtime { get; }

Property Value

string

Methods

WithRuntime(string)

Sets the target runtime (e.g., linux-x64, win-x64, osx-arm64).

public DotnetRestoreOptions WithRuntime(string runtime)

Parameters

runtime string

Returns

DotnetRestoreOptions