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
In Solution Explorer, click the project that you want to package.
On the Build menu, click Package.
To verify the contents of the package
In Solution Explorer, click the Show All Files () button.
This shows all project items, including excluded and hidden items.
Expand the bin node.
Expand the Debug or Release node.
Rename ProjectName.wsp to ProjectName.cab.
Verify the contents of the package by examining the ProjectName.cab file.