Table of Contents

Class FrameworkNameUtility

Namespace
NuGet.Packaging
Assembly
Chocolatey.NuGet.Packaging.dll
public static class FrameworkNameUtility
Inheritance
FrameworkNameUtility
Inherited Members

Methods

ParseFrameworkFolderName(string, bool, out string)

Parses the specified string into FrameworkName object.

public static FrameworkName ParseFrameworkFolderName(string path, bool strictParsing, out string effectivePath)

Parameters

path string

The string to be parse.

strictParsing bool

if set to true, parse the first folder of path even if it is unrecognized framework.

effectivePath string

returns the path after the parsed target framework

Returns

FrameworkName

ParseFrameworkNameFromFilePath(string, out string)

public static FrameworkName ParseFrameworkNameFromFilePath(string filePath, out string effectivePath)

Parameters

filePath string
effectivePath string

Returns

FrameworkName

ParseNuGetFrameworkFolderName(string, bool, out string)

Parses the specified string into FrameworkName object.

public static NuGetFramework ParseNuGetFrameworkFolderName(string path, bool strictParsing, out string effectivePath)

Parameters

path string

The string to be parse.

strictParsing bool

if set to true, parse the first folder of path even if it is unrecognized framework.

effectivePath string

returns the path after the parsed target framework

Returns

NuGetFramework

ParseNuGetFrameworkFromFilePath(string, out string)

public static NuGetFramework ParseNuGetFrameworkFromFilePath(string filePath, out string effectivePath)

Parameters

filePath string
effectivePath string

Returns

NuGetFramework