public static FrameworkName ParseFrameworkFolderName(string path) { string effectivePath; return ParseFrameworkFolderName(path, strictParsing: true, effectivePath: out effectivePath); }
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); }