locked
How to add a new code generation template? RRS feed

  • Question

  • Greetings,

    I'd like to add a custom code generation template to the list of templates available to the Entity Model. How do I register this and have it show up?
    Thursday, December 3, 2009 3:22 AM

Answers

  • Naming convention for the templates is the same irrespective of target framework version.  Specifically, the template name has to start with the  string “ADONETArtifactGenerator_”.


    The .vstemplate files have an xml attribute that specifieds the required (minimum?) version.  For the code-gen templates we ship, this is

     

     

    <RequiredFrameworkVersion>4.0</RequiredFrameworkVersion>

     


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, December 4, 2009 7:29 PM
    Moderator