<?xml version="1.0"?> <Template Originator="Mike Krueger" Language="C#" Created="3/09/2001" LastModified="3/09/2001"> <TemplateConfiguration> <Name>Typed C# Collection</Name> <Icon>C#.File.CSFileIcon</Icon> <Category>C#</Category> <LanguageName>C#</LanguageName> <Description>creates an typed C# collection</Description> <Wizard dll = "CodeGenerator.dll" class = "TypedCollectionGenerator.WizardWindow" parameters ="C#"/> </TemplateConfiguration> <TemplateFiles/> <FileOptions/> </Template>
As you can see, this is almost an ordinary file template xml. Except it does not define a template file and it has a Wizard tag in the TemplateConfiguration node. The Wizard tag must have the attributes dll and class - the parameters attribute is optional. The parameters are given to the INewFileWizard object which will be of the type class. (Therefore class must inherit from INewFileWizard).