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