Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

output extension directive #2

Open
rienafairefr opened this issue Jun 8, 2017 · 1 comment
Open

output extension directive #2

rienafairefr opened this issue Jun 8, 2017 · 1 comment
Labels

Comments

@rienafairefr
Copy link

It seems that using a directive like

<#@ output extension=".whatever" #>

and treating the template with texttransform.exe template.tt does not generate the correct output file, it just creates a file with a .txt extension.

@rienafairefr
Copy link
Author

rienafairefr commented Jun 8, 2017

Hmmm.. Just want to add that it seems to be related to <#@ include #> , if an included template also has an <#@ output #> directive, it might overwrite the include-ing parent template. Removing the <#@ output [...] #> directive in the child solves the problem.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants