Source generator not working?
I am trying to setup a incremental source generator, and following a number of different tutorials/blogs. It was working then I changed something and it no longer works, even after reverting the changes.
This is the source gen .csproj file
And this is how I am referencing it.
And the test generator.
I rebuild after every change using
dotnet build MyProject.sln --no-incremental
.
I except to see a warning in the logs saying that the source gen .csproj will not be included but I don't.
Anything clear that I am doing wrong or how to debug?1 Reply
It was working, rider just wasn't seeing it...
And adding to the consume csproj made it see them consistently.