SharePoint 2013

默认情况下,App是不能直接部署到Production环境,只能通过App Catalog中安装。

只有在Developer类型站点中才默认激活了Developer feature。

所以如果想要使用VS部署app,需要首先激活Developer feature,参考此文章

1. 首先需要安装SharePoint Online Management Shell,

2. 下载Sideloading.ps1文件,地址为 http://lekman.codeplex.com/releases/view/98505

3. 使用SharePoint Online Management Shell执行此文件;

然后Developer feature就激活了,就可以使用VS来部署App了,但仍然不能使用Napa,原因参考此文章

原文地址:https://www.cnblogs.com/qijiage/p/3992297.html