Open ignatandrei opened 3 weeks ago
As far as I remember, incremental generators do not work with .net framework projects. I still need this source generator to be compatible with legacy projects thus changing it to incremental is not an option right now.
I do not think that is such a limitation. What version of .NET Framework are you thinking about?
.net framework 4.8
I have tested with one of my generators and the console project
It works.
I maintain a list of Roslyn Source Code Generators at ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
However, the source generators have been deprecated in favor of the new incremental generators , that allows better performance
See dotnet/roslyn@main/docs/features/incremental-generators.md
However this means passing from ISourceGenerator to IIncrementalGenerator
Could you do that ?
Thanks Andrei