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