02.14 Roll Your Own Project Template with the Export Template Wizard

WINDOWS

Alt,F, E

MENU

File | Export Template

COMMAND

File.ExportTemplate

VERSIONS

2005, 2008, 2010

CODE

vstipProj0004

Are you always adding the same extra files to projects when you create them? Ever wish you could have it all just “be there”? Well, you can when you become familiar with the Export Template Wizard.

First, set up an existing project template the way you want it. All changes (new files, code, interfaces, and so on) will be used in the template you create. In this simple example, I always want to include larry, curly, and moe C# class files with my console applications.

Now select File | Export Template from the menu bar.

Note

Choosing Export Template prompts you to save ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.