public NestedProject(ProjectFileBase project, ProjectItemGroupProjectReference reference) { Name = reference.Name; Include = reference.Include; Project = reference.Project; Path = project.GetFullPath(Include); //Path = System.IO.Path.GetFullPath(System.IO.Path.Combine(projectPath, Include)); }
public static bool IsValidProjectReference(ProjectItemGroupProjectReference reference) { return(!string.IsNullOrWhiteSpace(reference?.Name)); }