/// <summary> /// Gets whether the specified item is supported by this command. /// </summary> protected bool IsSupported(EnvDTE.SelectedItem item) { switch (item.GetKind()) { case SelectedItemKind.Project: return SupportProject; case SelectedItemKind.Solution: return SupportSolution; } return false; }