public static bool HasProjectReferenceByProjectFilePath(this SolutionFile solutionFile, string solutionFilePath, string projectFilePath) { var projectFileRelativePath = VsPathUtilities.GetProjectFileRelativeToSolutionDirectoryPath(solutionFilePath, projectFilePath); var hasProjectReference = solutionFile.HasProjectReferenceByProjectFileRelativePath(projectFileRelativePath); return(hasProjectReference); }
public static bool HasProjectReference(this SolutionFile solutionFile, SolutionFileProjectReference projectReference) { var hasProjectReference = solutionFile.HasProjectReferenceByProjectFileRelativePath(projectReference.ProjectFileRelativePathValue); return(hasProjectReference); }