Running T4 templates from other T4 template

后端 未结 4 1474
攒了一身酷
攒了一身酷 2020-12-31 12:41

does anyone know if it\'s possible to run T4 template file from another T4 template, inside VS2010

Thank

4条回答
  •  再見小時候
    2020-12-31 13:17

    What your probably looking for is T4 Toolbox. It will allow you to actually generate code in individual files and add them to a project automatically.

    Highly Recommended.

    I have used t4 toolbox to generate whole projects just based on a model.

    (T4 Toolbox was formerly located at http://t4toolbox.codeplex.com/ but is now at https://github.com/olegsych/T4Toolbox )

提交回复
热议问题