Class FrameworkNameUtility
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
stringThe string to be parse.
strictParsing
boolif set to
true
, parse the first folder of path even if it is unrecognized framework.effectivePath
stringreturns the path after the parsed target framework
Returns
ParseFrameworkNameFromFilePath(string, out string)
public static FrameworkName ParseFrameworkNameFromFilePath(string filePath, out string effectivePath)
Parameters
Returns
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
stringThe string to be parse.
strictParsing
boolif set to
true
, parse the first folder of path even if it is unrecognized framework.effectivePath
stringreturns the path after the parsed target framework
Returns
- NuGetFramework
ParseNuGetFrameworkFromFilePath(string, out string)
public static NuGetFramework ParseNuGetFrameworkFromFilePath(string filePath, out string effectivePath)
Parameters
Returns
- NuGetFramework