Error occurred in deployment step 'Activate Features': Unable to cast object of type 'Microsoft.SharePoint.SPWeb' to type 'Microsoft.SharePoint.SPSite'
Ans: change Scope of your feature as :Site and use SPSite objSite = (SPSite)properties.Feature.Parent; don't use SPContect.Current.Site