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