I have been using WSPBuilder for a while and suddenly noticed that the documentation on the Codeplex site is a bit poor.
For those who do not know WSPBuilder is a tool and a set of extensions which facilitates the making, deploying and debugging of SharePoint features.
Creating a WSPBuilder Project
Select WSPBuilder from the project types, then select either “WSPBuilder Project” or “WSPBuilder Project with Workflow”
Then we need to add a project item to do so select Project | Add New Item (or your preferred method) from the Categories select WSPBuilder and select the most appropriate item for your project.
Complete this dialog, this sets the information which is found in the Manage Features section of your SharePoint site. Scope is quite important as this sets the visibility. See http://msdn.microsoft.com/en-us/library/ms476615.aspx
You will now notice that the Feature directory layout has been created. Along with the elements.xml and Feature.xml.
Finally the real magic! By right clicking on the project you get the WSPBuilder Menu. This menu has the following items.
· Build WSP – This creates a WSP File
· Upgrade – Upgrades existing feature
· Uninstall – Removes the WSP from the server
· Copy to 12 hive – Does not deploy but rather copies the information
· Copy to GAC – Copies assemblies to the GAC
· Recycle AppPools
· Recycle Services Timer
· Create Deployment Folder – Creates a setup.exe
· Attach to IIS Worker Process – this attaches the code to the correct W3Wp.exe process (invaluable)