I am developing a web part and suddenly receive this error when activating it from site settings.
System.InvalidCastException: Unable to cast object of type 'Microsoft.SharePoint.Administration.SPSolution' to type 'Microsoft.SharePoint.Administration.SPFeatureDefinition'.
I cannot get this cleared up even after retracting and removing a number of times. Thanks