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

Support MS's Source Generators #103

Open
petrsvihlik opened this issue May 21, 2020 · 1 comment
Open

Support MS's Source Generators #103

petrsvihlik opened this issue May 21, 2020 · 1 comment

Comments

@petrsvihlik
Copy link
Contributor

petrsvihlik commented May 21, 2020

Blockers

Motivation

Make the automatic compile-time source generation easier. This could remove the necessity of adding MSBuild targets such as:

https://github.com/Kentico/kontent-boilerplate-net/blob/107137dedc4ffca29ce17013e20df36a3e507782/src/content/Kentico.Kontent.Boilerplate/Kentico.Kontent.Boilerplate.csproj#L39-L52

Proposed solution

  • Support Microsoft.CodeAnalysis.ISourceGenerator and Microsoft.CodeAnalysis.GeneratorAttribute.

Additional context

@petrsvihlik
Copy link
Contributor Author

Initial work done here: https://github.com/petrsvihlik/kontent-source-generator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant