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

Improve source package with T4 install experience #212

Open
dadhi opened this issue Jan 18, 2020 · 19 comments
Open

Improve source package with T4 install experience #212

dadhi opened this issue Jan 18, 2020 · 19 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@dadhi
Copy link
Owner

dadhi commented Jan 18, 2020

  • Automate manual step of copying T4 files
  • Automate copying of package dependencies

NuGet/Home#4837

@dadhi dadhi added enhancement New feature or request help wanted Extra attention is needed labels Jan 18, 2020
@dadhi
Copy link
Owner Author

dadhi commented Jan 20, 2020

Replacing T4 is also a good alternative.

@dadhi
Copy link
Owner Author

dadhi commented Jan 20, 2020

Related #101

@dadhi
Copy link
Owner Author

dadhi commented Jan 22, 2020

@dadhi
Copy link
Owner Author

dadhi commented Feb 15, 2020

Consider using mono t4 implementation which is actively developed and can be referenced as a CLI tool: https://github.com/mono/t4

@dadhi
Copy link
Owner Author

dadhi commented Feb 15, 2020

Or may be this: https://github.com/Muchiachio/Genny

@dadhi
Copy link
Owner Author

dadhi commented Mar 8, 2020

Use https://github.com/Konard/T4GenericsExample as an example with https://github.com/mono/t4 CLI tool reference

@dadhi dadhi added this to the v5.0.0 milestone Mar 18, 2020
@dadhi
Copy link
Owner Author

dadhi commented May 4, 2020

Related mono/t4#70

@dadhi
Copy link
Owner Author

dadhi commented Jul 3, 2020

@dadhi
Copy link
Owner Author

dadhi commented Jul 5, 2020

Another example with step by step guide working on .NET Core 3.0 https://github.com/dadhi/T4Sample

@dadhi
Copy link
Owner Author

dadhi commented Jul 5, 2020

@dadhi dadhi self-assigned this Jul 20, 2020
@dadhi
Copy link
Owner Author

dadhi commented Jul 22, 2020

@dadhi dadhi removed the help wanted Extra attention is needed label Jul 22, 2020
@dadhi
Copy link
Owner Author

dadhi commented Aug 14, 2020

The POC solution is here https://github.com/dadhi/LempTest

@dadhi dadhi added the help wanted Extra attention is needed label Apr 20, 2021
@danielmeza
Copy link

T4 can be now replaced with Source Generators
I used with Scriban as template engine and work well!

@dadhi
Copy link
Owner Author

dadhi commented Apr 14, 2022

Here is another template project for the source generators https://github.com/tom-englert/LogMessageGenerator/

@dadhi dadhi modified the milestones: v5.1.0, v6.0.0 May 10, 2022
dadhi added a commit that referenced this issue Jun 11, 2022
dadhi added a commit that referenced this issue Jun 11, 2022
dadhi added a commit that referenced this issue Jun 24, 2022
dadhi added a commit that referenced this issue Oct 17, 2022
dadhi added a commit that referenced this issue Oct 17, 2022
@dadhi dadhi closed this as completed in 73a428b Dec 24, 2023
@sqeezy
Copy link

sqeezy commented Dec 25, 2023

Is this actually finished or closed by pattern in last commit?

@dadhi
Copy link
Owner Author

dadhi commented Dec 25, 2023

@sqeezy Closed because of closing of the related PR, but the work is not completed.

The main problem is the good and reliable NuGet installation and setup experience.
Currently, it is not possible to automatically install and update the package with comp-time DryIoc.

So I am currently looking at BuildTasks provided by mono T4 https://github.com/mono/t4/blob/main/Mono.TextTemplating.Build/readme.md

I will try to wrap up some deliverable CompTime for v6 and proceed working on the improving the DX for it.

@dadhi dadhi reopened this Dec 25, 2023
@sqeezy
Copy link

sqeezy commented Dec 25, 2023

As always, thanks for your amazing work. I will look into this comp-time work next year. I'm not too familiar with T4 but pretty fluent in MSBuild related things.

@ChaseFlorell
Copy link

Today I cloned the repo onto my Macbook and immediately ran into issues building due to restoring T4 bits. I'm not sure how to proceed, so I'm curious if this issue covers my issue, or if there is other guidance in order for me to get DryIoc building locally?

@dadhi
Copy link
Owner Author

dadhi commented Apr 10, 2024

@ChaseFlorell Hi

  • How did you build?
  • What exact errors did you get?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants