Skip to content
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

How to generate additional files Using T4? #4573

Closed
paulhbr opened this issue Nov 29, 2023 · 1 comment
Closed

How to generate additional files Using T4? #4573

paulhbr opened this issue Nov 29, 2023 · 1 comment

Comments

@paulhbr
Copy link

paulhbr commented Nov 29, 2023

Hi,

It's great that you have an example of what the T4 code would look like to generate additional files (in the example, a mermaid diagram). However, in my brief look at TextTemplatingModelGenerator, it seems that when the scaffolder runs, it's hardcoded to only look for three known files. How could I actually get an additional T4 template to be processed?

Thanks,

PBR


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@ErikEJ
Copy link
Contributor

ErikEJ commented Nov 29, 2023

@paulhbr This is not currently possible with the built-in tooling, but you can do it with EF Core Power Tools

@paulhbr paulhbr changed the title How to generate additional files? How to generate additional files Using T4? Nov 29, 2023
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants