public static bool HasProjectType(this IDotNetProject project, Guid projectTypeGuid) { foreach (string guid in project.GetProjectTypeGuids()) { if (IsMatch(projectTypeGuid, guid)) { return(true); } } return(false); }