Summary
Adds a framework to target.
- Namespace
- Cake
.Common .Tools .DotNet .MSBuild - Containing Type
- Dot
Net M S Build Settings Extensions
Syntax
public static DotNetMSBuildSettings SetTargetFramework(this DotNetMSBuildSettings settings, string targetFramework)
Remarks
For list of target frameworks see https://docs.microsoft.com/en-us/dotnet/standard/frameworks.
Parameters
Name | Type | Description |
---|---|---|
settings | Dot |
The settings. |
targetFramework | string | The framework to target. |
Return Value
Type | Description |
---|---|
Dot |
The same DotNetMSBuildSettings instance so that multiple calls can be chained. |