I have a scenario in which I need to run all template files under a given directory from one .tt file and add the generated files under this .tt file which was run.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Generating multiple output files from one .tt file is not an easy task. I guess implementing this functionality would be very time consuming.
Here is a blog post about how to use tangible T4 Editor to create multiple output files, even in different solution projects:
T4: How To Generate Multiple Output Files From A Single T4 Template