Contents
You can also download the repository at SharePoint_SP-hosted_Add-Ins_Tutorials and open the BeforeColumns.sln file. You’ll find it a lot easier to develop SharePoint-hosted SharePoint Add-ins if you are familiar with how users deploy and install your add-ins.
After you deploy the add-in in either way, it’s available for installation on the add an add-in page of SharePoint websites. If the add-in needs permissions to the host web or its parent subscription, SharePoint prompts the user who installs the add-in to grant those permissions.
You distribute SharePoint Add-ins in add-in packages that always include at least the add-in manifest. (If there are no SharePoint components, the add-in manifest may be the only thing in the add-in package.) If the add-in has SharePoint components in an add-in web, these are included in the package as a set of XML files.
Where do I Save my SharePoint add-in files?
In the Publish pane, select Package the add-in. The add-in is packaged and saved as an *.app file in the solution’s bindebugweb.publish1.0.0.0 folder. Open your add-in catalog site in a browser, and then select SharePoint Add-ins in the navigation bar. The SharePoint Add-ins catalog is a standard SharePoint asset library.
How do I add an app to my SharePoint subscription?
In the SharePoint Admin Center, select apps in the task pane. On the apps page, select App Catalog. (If there is already an add-in catalog site collection in the subscription, it opens and you are finished. You cannot create more than one add-in catalog in a subscription.)
Open the Visual Studio solution, right-click the project node in Solution Explorer, and then select Publish. In the Publish pane, select Package the add-in. The add-in is packaged and saved as an *.app file in the solution’s \\bin\\debug\\web.publish\\1.0.0.0 folder.