Following on from my previous post, once I had created all the core code that I needed to run my Windows Service application, I decided I had to take it one step further and save the project as a template.
If you have never created your own templates before then you may be missing a trick. They are VERY useful when you find you keep creating the same type of item or project and end up cutting and pasting old code.
Templates save you this hassle, and they are very easy to create:
Click File/Export Template...
Follow the wizard...
A template is saved in a ZIP to your documents folder under Visual Studio's templates folder. When you create a new project using the template all the files contained within the template will be copied to your new project, ready to use.
Another nifty feature is that the new project's namespace value will match the name of the project you just created.