Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.85 KB

how-to-deploy-and-publish-a-sharepoint-solution-to-a-local-sharepoint-site.md

File metadata and controls

44 lines (33 loc) · 2.85 KB
title titleSuffix description ms.date ms.topic dev_langs helpviewer_keywords author ms.author manager ms.subservice
Deploy & publish SharePoint solution to a local SharePoint server
Deploy and publish SharePoint solutions to a local SharePoint server on your development computer with Visual Studio Solution Explorer.
02/02/2017
how-to
VB
CSharp
deploying [SharePoint development in Visual Studio]
SharePoint development in Visual Studio, deploying
John-Hart
johnhart
mijacobs
sharepoint-development

Deploy and publish a SharePoint solution to a local SharePoint site

You can deploy or publish SharePoint solutions to a local SharePoint server on your development computer. The deployment process copies the .wsp file to the SharePoint server, installs the solution, and then activates the features. The publishing process only copies the .wsp file to the SharePoint server and installs it. You must manually activate it to enable it in SharePoint.

To deploy a SharePoint solution to the local SharePoint server

  1. In Solution Explorer, choose the project that you want to deploy.

  2. On the menu bar, choose Build, Deploy Solution.

    The .wsp file is created and installed on the local SharePoint server. Also, the features are activated.

To publish a SharePoint solution to a local SharePoint server

  1. In Solution Explorer, open the shortcut menu for the SharePoint project that you want to publish and then choose Publish.

  2. In the Publish dialog box, choose the Publish to File System option button.

  3. In the Target Location text box, enter a local path, and then choose the Publish button.

    The publishing progress appears in the Visual Studio Output window. When the process is finished, the solution (.wsp) file is installed on the local SharePoint server. However, it must still be activated to be used in SharePoint. If the solution file already exists, an error occurs and asks whether you want to overwrite the existing file. For information on upgrading the package, see the section on upgrading remote packages in How to: Deploy, publish, and upgrade SharePoint solutions on a remote server.

Related content