Table of Contents

Constructor TargetFramework

Namespace
Alternet.Common.DotNet.Projects
Assembly
Alternet.Common.v9.dll

TargetFramework(string)

Initializes a new instance of the TargetFramework class with specified moniker.

public TargetFramework(string moniker)

Parameters

moniker string

String in the standardized token format for specifying the target framework of a .NET project.

TargetFramework(Version, bool, string?)

Initializes a new instance of the TargetFramework class with specified parameters.

public TargetFramework(Version version, bool isDotNetCore, string? os = null)

Parameters

version Version

Framework version.

isDotNetCore bool

Indicates whether it is a .NET Core framework.

os string

Operating system to which this framework belongs.