DotNetCoreMSBuildSettingsExtensions.

SetRuntime(DotNetCoreMSBuildSettings, string) Method

Summary

Sets a target operating systems where the application or assembly will run.

Syntax

public static DotNetCoreMSBuildSettings SetRuntime(this DotNetCoreMSBuildSettings settings, string runtimeId)

Remarks

For list of runtime ids see https://docs.microsoft.com/en-us/dotnet/core/rid-catalog.

Parameters

Name Type Description
settings DotNetCoreMSBuildSettings The settings.
runtimeId string The runtime id of the operating system.

Return Value

Type Description
DotNetCoreMSBuildSettings The same DotNetCoreMSBuildSettings instance so that multiple calls can be chained.