private List <FrameworkAssemblyReference> GetFrameworkAssemblies() { return((from fr in FrameworkReferences.NullAsEmpty() orderby fr.ItemSpec, StringComparer.Ordinal select new FrameworkAssemblyReference(fr.ItemSpec, new[] { fr.GetTargetFramework() }) ).Distinct(frameworkAssemblyReferenceComparer).ToList()); }
private List <ManifestFrameworkAssembly> GetFrameworkAssemblies() { return((from fr in FrameworkReferences.NullAsEmpty() select new ManifestFrameworkAssembly { AssemblyName = fr.ItemSpec, TargetFramework = fr.GetTargetFramework().GetShortFrameworkName(), }).ToList()); }
private List <FrameworkAssemblyReference> GetFrameworkAssemblies() { return((from fr in FrameworkReferences.NullAsEmpty() select new FrameworkAssemblyReference(fr.ItemSpec, new[] { fr.GetTargetFramework() })) .ToList()); }