0
chrskrs created
Hi, just a short question.
I see that in the AspNetZeroRadTool\FileTemplates folder there are templates for the generated code. I have tried to modify one of the templates (the one for the AppServiceClass) but it seems that it gets overwritten as soon as the PowerTool gets executed.
Is it possible to make my changes permanent and to generate code using my modification?
Thank you
Regards Chris Krause
1 Answer(s)
-
0
Hi Chris,
You need to crete copies of the existing templates, see https://docs.aspnetzero.com/en/common/latest/Development-Guide-Rad-Tool#edit-pre-defined-templates
For example, you can create
MainTemplate.custom.txt
and it will overrideMainTemplate.txt
.