Open
Description
Visual Studio peaks at the template
directive's language
argument to determine the default output extension. It uses .cs
for C# and .vb
for VB. If the language argument isn't specified, it assumes C#.
mono-t4, however appears to use .txt
as the default extension. This requires me to specify the -o
command-line option duplicating the input path and filename.
t4 -o ./src/MyApp/MyTemplate.cs ./src/MyApp/MyTemplate.tt
Would you consider changing the default to align better with the Visual Studio tooling? Or would this be too much of a breaking change?
Metadata
Metadata
Assignees
Labels
No labels