When developing Apps for SharePoint it is essential to have a development site for testing your Apps. This can be done in several ways:
- Provision a Developer site within an Office 365 tenant with an E plan
- With an Visual Studio Premium or Ultimate MSDN subscription
- Sign-up for a Developer Subscription
- Create a site collection with a “Developer Site” on an on-premise install
If you have not used one of these approaches and try deploying an App from Visual Studio to a “non-Developer” site you will get the following error message:
Sideloading of apps is not enabled on this site
Sideloading is the process that is used when deploying an App directly from Visual Studio. The Developer site has the features enabled as part of the template but other sites need the Developer feature enabled.
For on-premise site the following line of PowerShell will enable the feature:
Enable-SPFeature e374875e-06b6-11e0-b0fa-57f5dfd72085 –url "http://SharePointLab.local";
For SharePoint Online the following article has a very good guide for enabling and then disabling the Developer feature:
Table of Contents
Comment on this post: