public static ParseFrameworkFolderName ( string path ) : FrameworkName | ||
path | string | |
return | FrameworkName |
public static FrameworkName ParseFrameworkFolderName(string path)
{
string effectivePath;
return ParseFrameworkFolderName(path, strictParsing: true, effectivePath: out effectivePath);
}
VersionUtility::ParseFrameworkFolderName ( string path, bool strictParsing, string &effectivePath ) : FrameworkName |
public ZipPackageAssemblyReference(IPackageFile file) : base(file) { Debug.Assert(Path.StartsWith("lib", StringComparison.OrdinalIgnoreCase), "path doesn't start with lib"); // Get rid of the lib folder string path = Path.Substring(3).Trim(System.IO.Path.DirectorySeparatorChar); _targetFramework = VersionUtility.ParseFrameworkFolderName(path); }