Replies: 1 comment
-
If Lines 202 to 203 in b0a9bbe I'm not sure if there is a template syntax for explicitly including a header. |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Hey
I'm new to templating and trying to build a simple item template to speed up the scaffolding of required files.
It's pretty simple to generate files. But there is a rule to have a file header in my project. A file header is configured in
stylecop.json
:settings.documentationRules.copyrightText
and is automatically generated once I create a file in an IDE.I could pass the
copyrightText
viasymbols
inside thetemplate.json
. But it's not really convenient.Is there any "computed" way to generate a file header for files generated with
dotnet new
?Beta Was this translation helpful? Give feedback.
All reactions