Documentation and HowTo's on Creating Templates

I am think of starting to create some templates for my projects and am looking for documentation or howtos for creating templates. Has any one got any links or notes that the can forward on.

Thanks,

Mykre
www.ircomm.net - Managed DirectX Game Programming


Answer this question

Documentation and HowTo's on Creating Templates

  • SisMng

    Hi there,

    I am trying to learn how to create templates but there is little info about it.

    I was wondering if somebody could actually provide a step by step instruction.


    I have created a project as i do normally.
    Whilst open i go to file export Template
    choose next
    Choose finish and nothing happens
    I went to the directory and nothing was created.
    is it a bug or Am I missing something


    IF i wanted to create a new Item Template  ("myForm")
    is it correct to do as follows

    Create a project
    Add a form
    Customise it
    and then use the export template
    Choose Item Template
    "in my case nothing is created"
    then this will automatically place your form under my Templates


    If incorrect could you please or anybody give some instructions



    thanks a lot

  • Paul Revere

    Thanks for the link, At the moment I have succeded in making a template for windows Services that I can use in the Express Editions.

    Mykre
    www.ircomm.net - Managed DirectX Game Programming

  • Luke81

    Hi Mykre, it's great to hear that you want to try out the new template architecture in VS 2005. We are still working on the documentation for this because the format of the templates was changed significantly after Beta1 to make it more intuitive and easy for users. 

    In the meantime here are a few pointers to get you started.

    The easiest way to familiarize yourself with the new architecture is to use the “Export Template” feature in VS 2005. To do this:
    < xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

     

    1. Create your project as you normally would
    2. Choose File->Export Template and walk through the wizard giving it the information that is requested
    3. Once the wizard finishes, you can see the .zip file that has been created for your template

     

    Inside this zip file you can find the .vstemplate file which is an XML metadata file which governs the appearance and behaviour of the template.

     

    You can also find some good information about VS2005 templates in this article http://www.developer.com/net/vb/article.php/10926_3497836_1.

     

    I hope this helps to get you started in the right direction.

     

    Thanks,

    -Prasadi



  • myhanguk

    Is this feature missing in VC++ express   There is no "export template" menu item on the file menu...

  • Documentation and HowTo's on Creating Templates