Table of Contents

Class DotnetStoreOptions

Namespace
Invex.Atom.Module.Dotnet.Cli
Assembly
Invex.Atom.Module.Dotnet.dll
public sealed record DotnetStoreOptions
Inheritance
object
DotnetStoreOptions

Constructors

DotnetStoreOptions()

public DotnetStoreOptions()

Properties

DisableBuildServers

Force the command to ignore any persistent build servers.

public bool? DisableBuildServers { get; init; }

Property Value

bool?

Framework

The target framework to store packages for. The target framework has to be specified in the project file.

public string? Framework { get; init; }

Property Value

string

FrameworkVersion

The Microsoft.NETCore.App package version that will be used to run the assemblies.

public string? FrameworkVersion { get; init; }

Property Value

string

Manifest

The XML file that contains the list of packages to be stored.

public IEnumerable<string>? Manifest { get; init; }

Property Value

IEnumerable<string>

Output

The output directory to store the given assemblies in.

public string? Output { get; init; }

Property Value

string

Runtime

The target runtime to store packages for.

public string? Runtime { get; init; }

Property Value

string

SkipOptimization

Skip the optimization phase.

public bool? SkipOptimization { get; init; }

Property Value

bool?

SkipSymbols

Skip creating symbol files which can be used for profiling the optimized assemblies.

public bool? SkipSymbols { get; init; }

Property Value

bool?

UseCurrentRuntime

Use current runtime as the target runtime.

public bool? UseCurrentRuntime { get; init; }

Property Value

bool?

Verbosity

Set the MSBuild verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].

public VerbosityOptions? Verbosity { get; init; }

Property Value

VerbosityOptions?

WorkingDir

The working directory used by the command to execute.

public string? WorkingDir { get; init; }

Property Value

string

Methods

ToArguments()

Converts these options to individual command-line arguments, in schema order.

public IReadOnlyList<string> ToArguments()

Returns

IReadOnlyList<string>

The arguments. Each option name and each value is a separate element, so values need no quoting.