How to use SPSF

Once you have created a SPSF SharePoint application (see Getting Started), SPSF integrates in the context menus of Visual Studio to provide you its functions at the right place. For instance the recipe "Content Type" is only displayed on projects which will create a .wsp solution. Some files and folders have also additional recpies to refactor artefacts, e.g. a feature has a recipe to add feature dependencies.



Alternatively you can use the "Add -> New Item..." (Ctrl+Shift+A) dialog to run the SPSF recipes.



The recipe will open a SPSF wizard, which allows you to specify the required information and choose dependencies from existing artefacts in your project or to out-of-the-box SharePoint components.



When you finish the wizard the code will be generated by SPSF following best practices for naming the files and structuring of the solution. If you have enabled resource managment upon project creation all language resources will be automatically stored in .resx files.



All settings you made in the wizard are reflected in the generated files.



From there you can continue development like you would do without SPSF.

Build a deployment package

Whenever you require a deployment package which contains all WSP files or if the solution should be deployed to a different farm, you can build the "Deployment" project which collects all solutions, deployment configurations and the necessary PowerShell scripts.

Read more about how the deployment Project works at our sister project SPSD SharePoint Solution Deployer

Last edited Mar 18, 2013 at 8:22 PM by matein78, version 5

Comments

No comments yet.