Problem:
Error occurred in deployment step ‘Activate Features’: Feature with Id is not installed in this farm, and cannot be added to this scope
I understand multiple blogs available for this to answer to user PowerShell command to deploy the Solution.
When I do deployment using PowerShell it works as expected but using Visual studio it throws the Error as above. Our client arguing that in SharePoint 2010 using VS 2010 he was able to deploy but now he is not when using SharePoint 2016 server and Visual studio 2015
What could be the real reason of this error?