dotnet/roslyn-sdk

The compiled-time source generator failed while generate Folders

MoMakkawi opened this issue · 1 comments

Is there an efficient way to make the Source Generators generate folders at compile time, not just files?

Note: I know that I can use System.IO, but I do not think that this is the best solution, and I prefer to write as follows:

context.AddSource(" folder/ file.g.cs", "source");