Пример #1
0
 public bool IsReferencing(Project project)
 {
     return References.Where(r => r.Name == project.Name).Any()
            || ProjectReferences.Where(pr => pr.ProjectName == project.Name).Any();
 }
Пример #2
0
 public static bool TryBuildProject(FileInfo projectFile, out Project project)
 {
     try
     {
         project = new Project(projectFile);
         return true;
     }
     catch
     {
         project = null;
         return false;
     }
 }