Open JasonBock opened 2 years ago
Any update on this issue?
Also curious.
The compilation model for C# Script is different enough that source generators as currently designed won't work.
But at the same time, the use cases for source generation within a notebook might also be a little different as well. One example is generating classes from data in memory. The experimental #!linqify
magic command (i.e. LINQ to CSV) offers one example.
The code for this is actually pretty simple and might offer some ideas for a different approach to source generation.
Is your feature request related to a problem? Please describe. It's not a problem, just something I'd like to see work in a notebook.
Describe the solution you'd like I noticed that if I reference a NuGet package in a notebook where that package contains source generators, the generators won't execute. Therefore, I can't use the package as intended. I'd like to be able to demo/document source generator packages using a notebook, so hopefully this will be supported in the future.
Note: @jonsequitur mentioned I should add this as an issue, so....here it is :)
Describe alternatives you've considered No alternatives.