-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
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
dotnet-t4: Use -c without specifying class name #129
Comments
Hmm, looks like you'd also need a way to specify the namespace. Maybe this issue isn't really worth it in the end. |
This seems reasonable to me - even if it's no more concise, eliminating redundancy helps reduce user error. Maybe just |
@bricelam
|
We have a similar use-case; we want to achieve similar functionality to the legacy custom tool built into Visual Studio. In the end we ended up with creating a new
Then we can call the dotnet tool t4, like so:
This works but feels incredibly clunky, would be great if the T4.BuildTools would support this out-of-the-box. |
I hate the redundancy of specifying commands like this to preprocess templates:
I'd love to see a new option that infers the class name from the input file so I can just specify something like this:
The text was updated successfully, but these errors were encountered: