We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When preprocessing a template...
t4 -c MyTemplate MyTemplate.tt
...it uses the .txt extension. This forces me to also specify the -o option. (Leading to lots of redundancy.)
.txt
-o
t4 -o MyTemplate.cs -c MyTemplate MyTemplate.tt
As stated in #128, Visual Studio will peak at the template directive and use .cs for C# and .vb for VB.
template
.cs
.vb
The text was updated successfully, but these errors were encountered:
Yes, definitely makes sense to default to a code extension when generating a class :)
Sorry, something went wrong.
Use language extension for default filename when preprocessing
0e13af0
Fixes #130
7f5d5d5
No branches or pull requests
When preprocessing a template...
...it uses the
.txt
extension. This forces me to also specify the-o
option. (Leading to lots of redundancy.)As stated in #128, Visual Studio will peak at the
template
directive and use.cs
for C# and.vb
for VB.The text was updated successfully, but these errors were encountered: