Beispiel #1
0
 public static bool EqualByPath(this ProjectItem projectReference, SlnToolsProject solutionProject)
 {
     if (projectReference == null || solutionProject == null)
     {
         return(false);
     }
     return(string.Equals(projectReference.GetProjectFullPath(), (new Uri(solutionProject.FullPath).LocalPath), StringComparison.OrdinalIgnoreCase));
 }
Beispiel #2
0
 public static bool EqualByGuid(this ProjectItem projectReference, SlnToolsProject solutionProject)
 {
     if (projectReference == null || solutionProject == null)
     {
         return(false);
     }
     return(projectReference.GetProjectGuid().Equals(new Guid(solutionProject.ProjectGuid)));
 }
 public Project(SolutionFile container, Project original)
     : this(container,
             original.ProjectGuid,
             original.ProjectTypeGuid,
             original.ProjectName,
             original.RelativePath,
             original.ParentFolderGuid,
             original.ProjectSections,
             original.VersionControlLines,
             original.ProjectConfigurationPlatformsLines)
 {
 }