internal static bool IsValid(EnvDTE.Project project) { try { return project.Properties != null && !string.IsNullOrEmpty(project.FullName) && project.HasProperty("FullPath"); } catch (Exception) { return false; } }