Example #1
0
 public void LoadProjectReferences()
 {
     _projectReferences = Project.Items
                          .Where(i => i.ItemType == "ProjectReference")
                          .Select(p => VsProjectReference.Load(this, p))
                          .OrderBy(r => r.Name)
                          .ToList();
 }
Example #2
0
 /// <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);
 }
Example #3
0
 /// <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;
 }