Freigeben über


Did you know… You can create file or item templates - #343

Alongside project templates, you can create item templates within the same File – Export Template wizard. I won’t spend too much time here as much of this information is repeat from how project templates work.

Instead of choosing Project Template, choose Item Template in step 1 of the wizard.

Item template option

On the second page, you’ll choose which file to create as the template

Select item to create as template checbox treeview

Then you can specify which references to include for that file.

image

And the rest are similar to the Project Templates, where they live, what customization options there are.

Technorati Tags: VS2005Tip,VS2008Tip

Comments

  • Anonymous
    October 28, 2008
    My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Codart has released devefor , an extension to Visual Studio that helps you monitor your development process. Greg Duncan posted a

  • Anonymous
    November 30, 2008
    When I do File / Export Template... the projects and items comboboxes are always empty.  Therefore I can't export an item because I can't select an item to export.  Consequently the Next button is disabled.  This is in a solution containing only C++ projects.  Apparently I can't export C++ items as templates?

  • Anonymous
    March 10, 2009
    本篇包括tip341-tip350http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-34.html#341、导出...