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

[CompTimeDI] Trying source generators #496

Open
dadhi opened this issue Jun 13, 2022 · 0 comments
Open

[CompTimeDI] Trying source generators #496

dadhi opened this issue Jun 13, 2022 · 0 comments
Assignees
Labels
compile-time part of the compile-time registrations support enhancement New feature or request

Comments

@dadhi
Copy link
Owner

dadhi commented Jun 13, 2022

Using those great blog post about the SG https://andrewlock.net/series/creating-a-source-generator/

Testing https://www.meziantou.net/testing-roslyn-incremental-source-generators.htm

Compiling the registration code CSharpScript.EvaluateAsync is heavyweight, but we can go "low level"
https://carljohansen.wordpress.com/2020/05/09/compiling-expression-trees-with-roslyn-without-memory-leaks-2/

How to get data from the attribute in SG if we Export things:
https://stackoverflow.com/questions/77215926/get-attribute-property-value-in-c-sharp-source-generation-iincrementalgenerato

Huh, what is this thing
https://learn.microsoft.com/en-gb/visualstudio/msbuild/tutorial-custom-task-code-generation?view=vs-2022

@dadhi dadhi added the enhancement New feature or request label Jun 13, 2022
@dadhi dadhi added this to the v6.0.0 milestone Jun 13, 2022
@dadhi dadhi self-assigned this Jun 13, 2022
@dadhi dadhi removed this from the v6.0.0 milestone Dec 25, 2023
@dadhi dadhi added the compile-time part of the compile-time registrations support label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compile-time part of the compile-time registrations support enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant