public Project ProjectForHierarchy(IVsHierarchy hierarchy) { return(hierarchy?.GetExtObject() as EnvDTE.Project); }