Add namespace dynamically in Itemtemplate using VS2010 SDK and IWizard interface

Answered Add namespace dynamically in Itemtemplate using VS2010 SDK and IWizard interface

  • Wednesday, June 27, 2012 11:41 AM
     
     

    Hi,

    My Requirement is to create a Project template and Item Template using extensibility projects in VS2010 SDK.

    I have created a class in itemtemplate class library using extensibility projects. Here,i gave some placeHolders in namespace section where there are replaced by some static values in customparameter section.Below is the codesnippet of the above explained one

    PlaceHolders in Class

    using $ABCFramework$

    CustomParameter Section in vstemplate file in Item Template Project

    <CustomParameter Name="$ABCFramework$" Value="ABC.Framework;"/>

    In the above class,how will i add the namespace dynamically using VS2010SDK and IWizard interface.

    Could you please help me for the above question

    Thanks in Advance!!

All Replies