Summary
Sets a target operating systems where the application or assembly will run.
- Namespace
- Cake
.Common .Tools .DotNet .MSBuild - Containing Type
- Dot
Net M S Build Settings Extensions
Syntax
public static DotNetMSBuildSettings SetRuntime(this DotNetMSBuildSettings 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 | Dot |
The settings. |
runtimeId | string | The runtime id of the operating system. |
Return Value
Type | Description |
---|---|
Dot |
The same DotNetMSBuildSettings instance so that multiple calls can be chained. |