When I tried to add a SharePoint mvc app I am getting following error:
Error occurred in deployment step \'Install app for SharePoint\':
Failed to install app f
In my case I got this error when I inadvertently changed the TemplateType value in the instance's Elements.xml
file .without making the same change in the Element's Definition (the other Elements.xml
directly under the Elements root).
Therefore there was a mismatch in the two elements.xml
of the list being deployed.