Visual studio templates are extremely useful tools which can be used to share commonalities across projects. Application functions that are commonly included at the project level include security, configuration, logging, error handling, navigation and reports. To create a template from any project from visual studio:
1. -->Tools-->Customize-->Commands-->File and drag the Export Template... button to any menu in the menu bar.
2. -->Export Template... select Project template -->Next. Enter a name and description for the template to be created.
Visual studio will by default export the
to the visual studio 2008\my exported templates\ directory.
3. Add the to the visual studio template directory. (This directory can be found at -->Tools-->Options-->Projects and Solutions-->General : User project templates location. Also, make sure the "Save new projects when created " checkbox is selected as templates created in temporary projects directories can have unpredictable results.
4. Create a new project and select the newly created template as the project type.
Creating a template with commonly used base functions is a great way to get a jump start on any project.
No comments:
Post a Comment