Friday 25 April 2014

Error occurred in deployment step ‘Install app for SharePoint’: Sideloading of apps is not enabled on this site

Error occurred in deployment step ‘Install app for SharePoint’: Sideloading of apps is not enabled on this site
Root Cause:
Visual studio 2012 will complain about a missing feature if you attempt to deploy an application to a SharePoint site that is not created with the “Developer Site” template since it will be missing required lists and content types.
Solution:
Enable the Developer feature on your Site collection where you want to deploy and test your apps using Visual Studio. Since this feature is hidden you will not see it in the list of the site collection feature, so you will need to enable it using PowerShell:
Enable-SPFeature e374875e-06b6-11e0-b0fa-57f5dfd72085 -url http://contoso.com