We recommend using Visual Studio 2017

WizardExtension Element (Visual Studio Templates)


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at WizardExtension Element (Visual Studio Templates).

Contains the registration elements for customizing the template wizard.


    <Assembly>... </Assembly>  
    <FullClassName>... </FullClassName>  

The following sections describe attribute, child elements, and parent elements.



Child Elements

AssemblyRequired element.

Specifies the name or strong name of an assembly that appears in the global assembly cache. There must be at least one Assembly element in a WizardExtension element.
FullClassNameRequired element.

The fully qualified name of the class that implements the IWizard interface. There must be at least one FullClassName element in a WizardExtension element.

Parent Elements

VSTemplateContains all the metadata for the project template, item template, or starter kit.

WizardExtension is an optional child element of VSTemplate.

The following example illustrates the metadata for the standard project template for a Visual C# Windows application.

<VSTemplate Version="3.0.0" Type="Item"  
        <Description>Template using IWizard extension</Description>  
        <Project File="MyTemplate.csproj">  
        <Assembly>MyWizard, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, Custom=null</Assembly>  

Visual Studio Template Schema Reference
Creating Project and Item Templates
How to: Use Wizards with Project Templates