CodeSmith Community
Your Code. Your Way. Faster!

Project functionality

Latest post 06-03-2007 9:49 PM by pwelter34. 1 replies.
  • 05-30-2007 2:42 PM

    • mjcolli
    • Not Ranked
    • Joined on 05-30-2007
    • Posts 3
    • Points 75

    Project functionality

    I've been searching for a while now.  I think maybe what I want the projects to do, they don't do.  Here it is in a nutshell.

     I'm writing a bunch of templates that will basically be generated in the beginning of each new project our developers do.  What I would like is for the devs to be able to click one file (I thought that would be the project file) and have each template run in turn, prompting the dev to fill out properties for each file (and maybe have a global properties prompt in the beginning).  The way I'm currently understanding this, you need to fill out properties for templates as you add them to a project.  That means hard coding basically.  That's no good for multiple .Net projects. 

     Am I understanding this right, or is there a way to do what I'm wanting?

    -MJC

    Filed under: ,
    • Post Points: 35
  • 06-03-2007 9:49 PM In reply to

    • pwelter34
    • Top 25 Contributor
    • Joined on 03-13-2003
    • Eden Prairie, MN
    • Posts 255
    • Points 749,885

    Re: Project functionality

    Hi,Yes

    , your understanding is correct.  You can use the CodeSmith GUI to allow the user to change the properties.  However, you wouldn't be able to script a sequence of templates.  They would have to load each template and set the properties.  The best would be to have a parent template with all the settings that calls all the sub templates.

    ~ Paul 

    • Post Points: 5
Page 1 of 1 (2 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems