DotNetCoreMSBuildSettingsExtensions.

SetTargetFramework(DotNetCoreMSBuildSettings, string) Method

Summary

Adds a framework to target.

Syntax

public static DotNetCoreMSBuildSettings SetTargetFramework(this DotNetCoreMSBuildSettings settings, string targetFramework)

Remarks

For list of target frameworks see https://docs.microsoft.com/en-us/dotnet/standard/frameworks.

Parameters

Name Type Description
settings DotNetCoreMSBuildSettings The settings.
targetFramework string The framework to target.

Return Value

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