public void LoadProjectReferences() { _projectReferences = Project.Items .Where(i => i.ItemType == "ProjectReference") .Select(p => VsProjectReference.Load(this, p)) .OrderBy(r => r.Name) .ToList(); }
/// <summary>Checks whether both projects are loaded from the same file. </summary> /// <param name="projectReference">The other project reference. </param> /// <returns>true when both projects are loaded from the same file. </returns> public bool IsSameProject(VsProjectReference projectReference) { return(Id == projectReference.Id); }
/// <summary>Checks whether both projects are loaded from the same file. </summary> /// <param name="projectReference">The other project reference. </param> /// <returns>true when both projects are loaded from the same file. </returns> public bool IsSameProject(VsProjectReference projectReference) { return Id == projectReference.Id; }