How to get ReSharper to see generated source when I update a source generator?

I'm developing a source generator. I use ReSharper. It's kind of painful: Whenever I change the shape of a generated type (e.g., add a new member or nested type), there doesn't seem to be any way to get ReSharper to see that change. My only option, if I don't want my tests to just be fields of red, is ostensibly to close and reopen Visual Studio. It's an incremental source generator, if that matters.

Does anyone know of an option that would allow me to just restart RSharper without closing Visual Studio… or, really, any way to make it so that ReSharper can see new features I add to a source generator that is being frequently updated?

0
1 comment

Hello Max, could you please let us know if the issue still occurs in the latest ReSharper 2025.2.1 version? Thank you!

0

Please sign in to leave a comment.