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?
Visual Studio peaks at the
templatedirective'slanguageargument to determine the default output extension. It uses.csfor C# and.vbfor VB. If the language argument isn't specified, it assumes C#.mono-t4, however appears to use
.txtas the default extension. This requires me to specify the-ocommand-line option duplicating the input path and filename.Would you consider changing the default to align better with the Visual Studio tooling? Or would this be too much of a breaking change?