Rider Roslyn Analyzer Not Working (Partially)

I have a working roslyn code generator project, and I correctly refered the project in my main project. The code can be generated correctly and can be seen in the source generator folder. However, when I change anything in the main project, the folder disappears and unless I restart the analyzer, the code is not regenerated and related code hint not working. I checked the documentation of rider, it says the analysis is real-time. May I ask what might be wrong here?
image.png
Was this page helpful?