Ejemplo n.º 1
0
 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());
 }
Ejemplo n.º 2
0
 private List <ManifestFrameworkAssembly> GetFrameworkAssemblies()
 {
     return((from fr in FrameworkReferences.NullAsEmpty()
             select new ManifestFrameworkAssembly
     {
         AssemblyName = fr.ItemSpec,
         TargetFramework = fr.GetTargetFramework().GetShortFrameworkName(),
     }).ToList());
 }
Ejemplo n.º 3
0
 private List <FrameworkAssemblyReference> GetFrameworkAssemblies()
 {
     return((from fr in FrameworkReferences.NullAsEmpty()
             select new FrameworkAssemblyReference(fr.ItemSpec, new[] { fr.GetTargetFramework() }))
            .ToList());
 }