Visual Studio provides a simple one-click method to package a SharePoint project as a SharePoint solution. Once packaged, solutions can be deployed from the Visual Studio interface. In addition, packaged solutions can be deployed with PowerShell and .NET code.
Follow these steps to package and deploy the solution:
When Visual Studio publishes (or packages) a SharePoint project, it creates a SharePoint solution file (wsp
) that contains a manifest, the assemblies, and any other files that are included. The SharePoint solution is then outputted to the folder specified.
In addition, Visual Studio has the ability to deploy the solution to the local SharePoint...