DotNetMSBuildSettingsExtensions.

SetTargetFramework(DotNetMSBuildSettings, string) Method

Summary

Adds a framework to target.

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 DotNetMSBuildSettings The settings.
targetFramework string The framework to target.

Return Value

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