bool ProjectTypeMatch(NavigateItem item) { DteWrapper wrapper = new DteWrapper(dte); ProjectType type = wrapper.GetProjectType(); return(!type.Conflicts(item.ProjectType)); }