How to: Create a SharePoint Solution Package in Visual Studio
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.
Packaging SharePoint Solutions
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.
See Also
Tasks
How to: Customize a SharePoint Solution Package
How to: Add and Remove Features and Items to a Package by Using the Package Designer