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