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

Is there any plan to add sample code and comment ? #116

Open
athinboy opened this issue Sep 27, 2021 · 1 comment
Open

Is there any plan to add sample code and comment ? #116

athinboy opened this issue Sep 27, 2021 · 1 comment

Comments

@athinboy
Copy link

I want to use t4 to generate text ,rather than c# code .but I can not find any sample wiki or comment, thanks!

@EddieLascu
Copy link

the t4 tool gives you the ability to generate a text file. The fact that the text file may end-up being a C# class is dictated by what extension you give the file (".cs") and whether you respect the correct syntax for C# classes. Similarly, you can generate a text file and save it with a ".txt" extension. Put inside whatever it is you need to generate. Sounds simplistic and it is but maybe I do not understand your question. Please post more details.

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

No branches or pull requests

2 participants