How to: Create a SharePoint Solution Package in Visual Studio

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

You can create the SharePoint package (.wsp) to deploy your SharePoint solutions by using Visual Studio. This process also generates the feature and manifest XML files that describe the SharePoint solution necessary for deployment.

To package the files in the SharePoint solution

  1. In Solution Explorer, click the project that you want to package.

  2. On the Build menu, click Package.

To verify the contents of the package

  1. In Solution Explorer, click the Show All Files (SolutionExplorerShowAllFilesSymbol screenshot) button.

    This shows all project items, including excluded and hidden items.

    Expand the bin node.

  2. Expand the Debug or Release node.

  3. Rename ProjectName.wsp to ProjectName.cab.

  4. Verify the contents of the package by examining the ProjectName.cab file.

Show: