DotNetPublishSettings.

OS Property

Summary

Gets or sets the target operating system (OS). This is a shorthand syntax for setting the Runtime Identifier (RID), where the provided value is combined with the default RID. If you use this option, don't use the -r|--runtime option.

Syntax

public string OS { get; set; }

Remarks

Requires .NET 6 or newer.

Value

Type Description
string