public static bool IsModelFile(ProjectItem projectItem) { var fullName = projectItem.get_FileNames(1); return IsModelFile(fullName); }