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

Task: Auto-generate T4 templates #40

Closed
NightOwl888 opened this issue Nov 11, 2022 · 0 comments · Fixed by #63
Closed

Task: Auto-generate T4 templates #40

NightOwl888 opened this issue Nov 11, 2022 · 0 comments · Fixed by #63
Assignees
Labels
is:enhancement New feature or request pri:normal

Comments

@NightOwl888
Copy link
Owner

We need to update our build to automatically generate the files that are template-based. Until now, we have been doing this manually.

There is an example of this here: https://github.com/libgit2/libgit2sharp/blob/0e7ec84e1a339e0215b71f85244dd06a06d82d61/LibGit2Sharp/LibGit2Sharp.csproj#L27-L28.

@NightOwl888 NightOwl888 added is:enhancement New feature or request up for grabs This issue is open to be worked on by anyone pri:normal labels Nov 11, 2022
@NightOwl888 NightOwl888 self-assigned this Dec 15, 2023
@NightOwl888 NightOwl888 removed the up for grabs This issue is open to be worked on by anyone label Dec 15, 2023
NightOwl888 added a commit that referenced this issue Dec 15, 2023
* SWEEP: Changed all T4 templates to use relative path to find CodeGenerationSettings.xml so we don't need to pass a parameter to the templates

* SWEEP: Added BOM to all T4 template files so mono/T4 will also generate the files with a BOM

* Directory.Build.props: Changed ArtifactsDir to use $(RepositoryRoot) instead of $(SolutionDir)

* Added support for generating T4 templates during build (closes #40).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:enhancement New feature or request pri:normal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant